| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the % operator? | | 2 |
| What is a Wrapper class? | | 9 |
| why the primitive data type have classes? | | 2 |
| what is an virtual function | TCS | 2 |
| In Java why we write public static void main(String args[])
why not main()? | TCS | 12 |
| can we create a instance for intwerface? | | 3 |
| Can multiple catch statements be used in exceptions ? | Wipro | 4 |
| What is Runtime class and its purpose? | | 2 |
| When finalize method is called? | | 3 |
| Can you extend more than one interface? | | 4 |
| Instead of writing Home, Remote Interfaces if i directly
extends EJBObject to bean class what happens?
| Flextronics | 1 |
| What are Font and FontMetrics classes? | | 1 |
| Real Time sample code for Encapsulation and Abstraction.
where to use abstract and where to use specifies like
public private. | | 1 |
| What modifiers are used with an inner class which is a
member of an outerclass? | | 1 |
| What are blocks?. | TCS | 1 |
| what is the difference between @include page and @include file | | 2 |
| What is the top class of AWT event hierarchy? | | 5 |
| what are Checked & Unchecked exceptions ? | | 2 |
| what is the purpose of class "Object" which is base class
for all classes? | | 3 |
| They had given one progam
final HashMap hm=new HashMap();
public void show()
{
hm.put("name",value);
}
in this prg here the final hashtable value can be changed in
put method,its the prg run? | DNS | 2 |
| |
| For more Core Java Interview Questions Click Here |