| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between DataInputStream and
BufferedReader | | 1 |
| What are null interfaces in JAVA ? and give me some
examples? | | 3 |
| What is casting ? | | 2 |
| whats is inheritance? | HCL | 14 |
| Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces. | Hewitt | 13 |
| Can you have an inner class inside a method and what
variables can you access? | | 2 |
| Which method will get invoked first in a stand alone
application? | | 1 |
| Can you call a private data from an inner class? | | 3 |
| What Method and class used for Connection pooling ? | Wipro | 4 |
| What is the difference between static and non-static
variables? | | 2 |
| What is hash method? | | 1 |
| Why is prepared Statement, Callable Statement used for? What
is the need of Batch updates? | Logica-CMG | 1 |
| How to add panel to a Frame? | | 2 |
| Functionality of JVM? | Infosys | 4 |
| real time example for deadlock,starvation,livelock | | 4 |
| AWT event listeners extends what interface? | | 1 |
| What will happen inside init() in servlet. my interviewer
asked servlet lifecycle. i said "once servlet is loaded in
to memory init() will be called which performs servlet
initialization " . Again interview asked what values will be
initialized . what is difference between init() and
init(ServletConfig config). | Infinite-Computer-Solutions | 2 |
| What is the superclass of exception? | | 2 |
| why java not supproting multiple inheritance?
| | 5 |
| how u do unit testing? | iFlex | 2 |
| |
| For more Core Java Interview Questions Click Here |