Wednesday, 6 July 2016

ntt data java interview questions

Below interview questions asked in NTT data in 5 rounds for Java Profile

  1. Can we call garbage collector?
  2. Can you write customized collection like list?
  3. Do you know Any sorting and searching algorithms?
  4. What is the differences b/ w implements runnable and thread?
  5. Difference b/w sleep and wait?
  6. Hash Map internal working, specially in case of Equals and hashcode?
  7. How will check code performance? any tools Did you used?
  8. Write query to print sum of department salary ?
  9. Sorting age first and name next? Comparator and comparable.
  10. What is the difference between constant and enum?
  11. What is hash collision?
  12. What if equals return true always (hashmap)?
  13. What if hashcode returns same hash for two objects (hashmap)
  14. What is wild card in java?
  15. Generics List<Number> ar  = ArrayList<Integer> () any error?
  16. What is Serialization?
  17. What is N+1 problem in hibernate?
  18. Inheritance in hibernate?
  19. Diff between filter (JEE concept) and interceptor (struts or spring concept)?
  20. How Hash map internal works?
  21. Write a program to print count of each character in Given string?
  22. Write program for Reverse string?
  23. Write a program to Removing duplicate from list with using set?
  24. Write a Program for each number occurrence in list?
  25. Write Quick sort algorithm?
  26. How to sort map using key or value?
  27. What is Fail fast and fail safe?
  28. Red block tree?
  29. Difference between arraylist and linked list?
  30. Is linked list is single linked or double linked?
  31. How can you cut the cake into 8 peaces in 3 cuts?
  32. Opps concepts?
  33. Mvc pull and mvc push?
  34. comparator and comparable difference?
  35. How to create immutable class?how to create class like string?
  36. Impliments runnable and extends thread? Which is better?
  37. Editing 10th line in file?
  38. Name="damu ragam" sort by second part of name?
  39. Query to get n th high sal?
  40. Males and female count from emp table?
  41. What is Left outer, right outer and inner join?
  42. Employee name and respective manager names?
  43. Select query syntax?
  44. 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