| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is an Exception ? | | 6 |
| Inorder to specify a container?s layout, which method is
used? | | 1 |
| 1).Is Object class abstract or not?
2).Is main method(public static void main(String args[])low
priority thread or high priority thread?
| TCS | 2 |
| Explain about global variables in Java? | | 2 |
| What is inheritance? | | 4 |
| Under what circumstances an object reference be cast to an
interface reference? | | 3 |
| How to avoid the runtime exception ? | | 2 |
| What is meant by controls and types? | | 1 |
| What is a serializable interface? | | 3 |
| what is hashmap& hashtable with example? | CTS | 1 |
| What are the two major components of JDBC? | Mind-Tree | 4 |
| Which class is extended by all other classes? | | 2 |
| using equals method overriding which objects are
compared?i.e same class objects or other class
objects?Explain me. | | 3 |
| When finalize method is called? | | 3 |
| 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 difference between requestprocessor and request
dispatcher? | Tech-Mahindra | 1 |
| what is meant by string pooling? | Wipro | 6 |
| Hi Friends, can you give difference between extending thread
class and implementing runnable interface. | | 2 |
| How to declare unique ArrayList ? | RMSI | 4 |
| How applets will communicate with each other? | | 1 |
| |
| For more Core Java Interview Questions Click Here |