| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Howmany classes that package java.applet.* contains? | TCS | 1 |
| explain the clone method and clonable interface | | 1 |
| byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p? | Wipro | 5 |
| whats the life cycle of jsp
| Satyam | 11 |
| what is the life cycle of jsp? | Photon | 2 |
| In Serialization, whether you will use Static variables? | HCL | 2 |
| 1).what is the difference between below examples
String s="vijay";
String s=new String("vijay"); | TCS | 11 |
| How to declare unique ArrayList ? | RMSI | 4 |
| how can we use the servlet as standalone apllication?should
we need to extend any class? | Logica-CMG | 2 |
| What are order of precedence and associativity, and how are
they used? | | 1 |
| What are teh sub-classes of a component class? | | 2 |
| How to send a request to garbage collector? | | 3 |
| What is anonymous class? | | 2 |
| What are the similarities between an array and an ArrayList? | | 2 |
| When finalize method is called? | | 3 |
| What is an abstract class and abstract method? | | 4 |
| Marker interface means , interface which has no methods.Then
what is the necessity of its usage.I read "it tells the
compiler that it should be treated differently ". "It is
used to store state of an object". But still am not
clear.Please explain clearly. | | 1 |
| We have two methods to create methods the threads.
1. Implementing runnable interface
2. Extending to thread class and overriding run method.
Among these two which one is better and why?
Please explain me in detail. | | 2 |
| Explain, why the constructor is required in implemented
class? | | 2 |
| What is the purpose of having the concept of overloading? | Ness-Technologies | 5 |
| |
| For more Core Java Interview Questions Click Here |