Wednesday, January 13, 2010

Set #1

Here is the first set, hope more will follow.

1. Brief introduction?

2. What is the difference between method overloading and method overriding? Can we override methods with different return types?

3. What is the difference between Hashtable and HashMap?

4. What is TreeMap?

5. Which data structure one can use for fast insertion and fast deletion?

6. What is the significance of equals () and hashCode () when using HashMap ?

7. Explain wait () notify () and notifyAll ()?

8. What happens after the sleep () returns? Can one thread cause another thread to sleep?

9. Do static fields get serialized?

10. What are the differences between public and protected keywords?

11. How can you make class immutable? Deep Copy.

12. What is auto boxing?

13. Which data structure is used in buckets in HashMap?

No comments:

Post a Comment

Twitter Updates

    follow me on Twitter