| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is difference between abstract class & final class | | 5 |
| What is the use join() in Threads ? | HCL | 4 |
| why the equals method can be override?when we override the
equals method? | | 4 |
| how can we synchronize Hash map? | CTS | 3 |
| What is the use of an interface? | | 3 |
| What is Interface? | BMC | 5 |
| Why we use static and synchronized in method for single
thread model
example:
public static synchronized add(){} | | 1 |
| what is difference between String buffer and String builder? | Benchmark | 2 |
| What is garbage collection in Java, and how can it be used ? | Wipro | 10 |
| how to call a method in different package? | | 4 |
| What is meant by packages? | | 2 |
| how to handle http request in struts | Polaris | 2 |
| What is meant by throwing an Exception? | Accenture | 4 |
| what is difference between servletconfig and servletcontext? | AMDOC | 3 |
| Does a class inherit the constructor of its super class?if
it does, how can you hide that constructor? if it doesnot
how can you call it from the sub class? | | 1 |
| Explain cookies? | | 2 |
| Difference between Array and vector? | | 4 |
| what is the difference b/w PUT and POST method to send data
to the server | Mind-Tree | 2 |
| What is the relationship between a method?s throws clause
and the exceptions that can be thrown during the method?s
execution? | | 2 |
| is this possible to create an array of 0 length?
if so how? if not so why?
coz we have an array in main() likw this
"static void main(String [] s) then what it signifies? | Hexaware | 2 |
| |
| For more Core Java Interview Questions Click Here |