Below interview
questions asked in NTT data in 5 rounds for Java Profile
- Can we call garbage collector?
- Can you write customized
collection like list?
- Do you know Any sorting and
searching algorithms?
- What is the differences b/ w
implements runnable and thread?
- Difference b/w sleep and wait?
- Hash Map internal working, specially
in case of Equals and hashcode?
- How will check code performance?
any tools Did you used?
- Write query to print sum of
department salary ?
- Sorting age first and name next?
Comparator and comparable.
- What is the difference between
constant and enum?
- What is hash collision?
- What if equals return true always (hashmap)?
- What if hashcode returns same hash
for two objects (hashmap)
- What is wild card in java?
- Generics List<Number> ar = ArrayList<Integer> () any error?
- What is Serialization?
- What is N+1 problem in hibernate?
- Inheritance in hibernate?
- Diff between filter (JEE concept)
and interceptor (struts or spring concept)?
- How Hash map internal works?
- Write a program to print count of
each character in Given string?
- Write program for Reverse string?
- Write a program to Removing
duplicate from list with using set?
- Write a Program for each number
occurrence in list?
- Write Quick sort algorithm?
- How to sort map using key or
value?
- What is Fail fast and fail safe?
- Red block tree?
- Difference between arraylist and
linked list?
- Is linked list is single linked or
double linked?
- How can you cut the cake into 8 peaces
in 3 cuts?
- Opps concepts?
- Mvc pull and mvc push?
- comparator and comparable
difference?
- How to create immutable class?how
to create class like string?
- Impliments runnable and extends thread?
Which is better?
- Editing 10th line in file?
- Name="damu ragam" sort
by second part of name?
- Query to get n th high sal?
- Males and female count from emp
table?
- What is Left outer, right outer
and inner join?
- Employee name and respective
manager names?
- Select query syntax?
- Db indexs?
Final class
Emp{
Final private
Date d;
Emp(Date d){
This.d=d;
}
}
Is
above class is immutable class?
No comments:
Post a Comment