| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is an enumeration class? | | 2 |
| How to synchonise HashMap | IBM | 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 an object class?Explain its methods? | | 3 |
| Is JRE required to compile Java files ? | HCL | 3 |
| Can an object be garbage collected while it is still
reachable? | | 2 |
| what is main purpose of interface? | Accenture | 2 |
| How applets will communicate with each other? | | 1 |
| How to create an instance of a class if the class has
private constructor? | | 2 |
| What is an event? | | 1 |
| What is encapsulation? Elaborate with example? | BMC | 1 |
| what is the difference between multitasking and
multithreading? | | 8 |
| hi to all. well can you please tell me that why String class
is immutable?
Thanks in advance. | Huawei | 3 |
| how can we use the servlet as standalone apllication?should
we need to extend any class? | Logica-CMG | 2 |
| write a simple program inheritance? | Polaris | 2 |
| What is Overriding and how can it be used? | Wipro | 5 |
| What is meant by event handling? | | 1 |
| can we create a instance for intwerface? | | 3 |
| Difference between canvas class & graphics class? | | 1 |
| Differentiate Vector and ArrayList? | Wipro | 4 |
| |
| For more Core Java Interview Questions Click Here |