1. How does Hashmap work internally?(Load factor, capacity,hash chaining/collision, equals and hashcode, immutability of key,concurrency, Hashmap vs Hashtable)
2. Equals and hashcode
3. Hash collision
4. Load factor in hashmap
5. Immutable class-concept and implementation.
6. Cloning-deep copy vs shallow copy
Multithreading
1. Notify vs NotifyAll
2. Wait vs sleep
3. Synchronized method vs block
4. Static vs non static method synchronized
5. Daemon thread
6. Thread life cycle
7. Threadpool- implementation
8. Threadfactory
9. Interthread communication
10. Thread memory model
11. Volatile
JDK 1.5
1. Concurrent collections- Concurrent Hashmap
2. Executor framework
3. CAS-Aromic integer etc
4. Autoboxing
5. Generics.
6. For each loop
7. Var args
8. Subclass return type
http://www.javacodegeeks.com/2014/04/java-interview-questions-and-answers.html
http://javarticles.com/2012/06/concurrenthashmap.html
2. Equals and hashcode
3. Hash collision
4. Load factor in hashmap
5. Immutable class-concept and implementation.
6. Cloning-deep copy vs shallow copy
Multithreading
1. Notify vs NotifyAll
2. Wait vs sleep
3. Synchronized method vs block
4. Static vs non static method synchronized
5. Daemon thread
6. Thread life cycle
7. Threadpool- implementation
8. Threadfactory
9. Interthread communication
10. Thread memory model
11. Volatile
JDK 1.5
1. Concurrent collections- Concurrent Hashmap
2. Executor framework
3. CAS-Aromic integer etc
4. Autoboxing
5. Generics.
6. For each loop
7. Var args
8. Subclass return type
http://www.javacodegeeks.com/2014/04/java-interview-questions-and-answers.html
http://javarticles.com/2012/06/concurrenthashmap.html
No comments:
Post a Comment