Core Java - Preparation Topics1
Core Java - Preparation Topics1
Exception handling
Design Patterns
LEVEL 2/3:
Transacting messaging
RDBMS
Webapp
Agile
TDD / BDD
Core Java
1. How HashMap works internally? explain about hashCode() and
equals() methood? (Answer)
2. hashCode() method internally calls hash(int h) function. What is the use
of hash() function? What does it do?
3. What is rehashing? How HashMap does rehashing internally?
4. Write a java program to implement a custom Map implementation for
MarketPlace which internally maintais key-value pairs of stocks and its 10 last
updated values.
Why ConcurrentHashMap provides better performance than SynchronizedMap?
1. How CopyOnArrayList works?
2. What is the difference between LinkedHashSet and LinkedList?
Spring
1. Which all Spring modules have you used?
2. Explain Spring MVC life cycle.
3. Explain various bean scopes of Spring?
4. What is singleton bean scope?
5. If I am having Spring Configuration file as below :
Design Pattern
1. What is the difference between Spring Singleton Bean scope and Singleton
design pattern.
2. How you will implement Singleton Design Pattern?
3. What is double check in lazy intialization singleton pattern implementation?
SQL
1. What is index in database table? When do we need to create index on table?
2. Difference between clustered and non-clustered index
3. Design Database table design for Bank's customers and thier account.
4. When creating extra mapping table is useful.
5. Write a SQL query to find 3rd largest salary
Basic questions :
2 - Implementation of Integer.parseInt("123");
3 - Implementation of Arraylist in deep detail.
6 - Reenterent lock
2.What is immutability?
More Questions
XML, JMS
Data Structures Lists, Trees, Graphs, Queues, Stacks etc
Store Procedures
serialization or cloning Good handle on serializable, externalizable, transient variables &
customizing serialization. Good handle on shallow & deep cloning.
Soft Skills Communication Skills, Adaptable, Never say die attitude