| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the Use of throws exception? | | 2 |
| How OOPS concept is achieved in Java? | JPMorgan-Chase | 4 |
| adapter class ? | | 2 |
| what is difference between throw and throws in exception? | | 16 |
| suppose in a class there is a code like this:
{
Set hs=new Hashset();
hs.add(new Emp("kathy",1000));
hs.add(new Emp("kathy",2000));
}
how can u avoid the above code in your class as set won't
allow duplicate objects? | | 2 |
| how many ways to create Thread and which one is good?
runnable interface ot Thread class? | Satyam | 3 |
| how many types of cloning? | Mobily | 1 |
| How does serialization work | Ordain-Solutions | 2 |
| Differentiate constructor and a method and how are it be
used? | Wipro | 5 |
| Diff between C++ and java? | TCS | 8 |
| what is jdk1.5 features? | Virtusa | 2 |
| what is the difference between abstract class and
Interface?where we can use it in realtime projects? | Logica-CMG | 10 |
| what is mean by method signature? | Satyam | 6 |
| Name the method of a Container that can be used to cause a
container to be laid out and redisplayed? | | 1 |
| What is run time polymorphism? | Elementus-Technologies | 6 |
| What is the difference between static and non-static
variables? | | 2 |
| What is persistence ? | | 2 |
| How many statements can be created with one connection in jdbc? | Polaris | 2 |
| If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface? | Synechron | 6 |
| What is a Wrapper class? | | 9 |
| |
| For more Core Java Interview Questions Click Here |