| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is overloading and overriding with example? | CMC | 1 |
| Different types of Layouts? | | 3 |
| C and C++ has constructors and distructors, why does Java
does not have distructors? | T3-Softwares | 1 |
| class A{
m2(){
}
}
class B extends A{
m2(){
}
}
class c extends B{
m2(){
}
}
class my_class extends c{
m2(){
}
pulic static void main(){
...My_class a = new my_class();
super.super.super.m2(); is this is leagal
if not find what is the legal procedure in order to call A's
version of m2();
}
| Logica-CMG | 7 |
| perpare on factorypattern,linklist wothout using
collection, (multitharding ie create producer/customer
therad producer create Queue continuesly,consumer consume
queue, consumer wait if queue is full,producer wait if
queue is empty),diff betn sleep(1000)&wait(1000) these r
the main Q ask in huawei(2008) | Huawei | 1 |
| What is the difference between the >> and >>> operators? | | 1 |
| When try and catch block is used ? | | 4 |
| Why we can not force Garbage Collection? | | 5 |
| What is the difference between error and exception and
explain in simple words not whatever is given in the book. | | 5 |
| finalize() method? | | 3 |
| How is Garbage collection done in Java? | T3-Softwares | 2 |
| how u do unit testing? | iFlex | 2 |
| what is meant by string pooling? | Wipro | 5 |
| Which containers may have a MenuBar? | | 1 |
| How to access a method that it declared as protected? | | 3 |
| explain the classification of exception and hoew to handle
the exceptions | | 2 |
| what is the use of reference variable | | 1 |
| What is Connection pooling? Explain Pros and Cons? | | 1 |
| When we will use an Interface and Abstract class? | | 2 |
| Name the methods that used to get and set the text label
displayed by a Buttonobject? | | 1 |
| |
| For more Core Java Interview Questions Click Here |