Important Java'Collections' Interview Questions:
- Q1. What are limitations of object Arrays?
- Q2. What are differences between arrays and collections?
- Q3. what are differences between arrays and ArrayList?
- Q4. What are differences between arrays and Vector?
- Q5. What is Collection API ?
- Q6. What is Collection framework?
- Q7. What is difference between Collections and Collection?
- Q8. Explain about Collection interface?
- Q9. Explain about List interface?
- Q10. Explain about Set interface?
- Q11. Explain about SortedSet interface?
- Q12. Explain about NavigableSet ?
- Q13. Explain about Queue interface?
- Q14. Explain about Map interface?
- Q15. Explain about SortedMap ?
- Q16. Explain about NavigableMap?
- Q17. Explain about ArrayList class?
- Q18. What is RandomAccess Interface?
- Q19. Explain about LinkedList class?
- Q20. Explain about Vector class?
- Q21. What is difference between ArrayList and Vector?
- Q22. How we can get synchronized version of ArrayList?
- Q23. What is difference between size and capacity of a Collection Object?
- Q24. What is difference between ArrayList and Linked List?
- Q25. What are legacy classes and interfaces present in Collections framework ?
- Q26. what is difference Enumeration and Iterator?
- Q27. What are limitations of Enumeration?
- Q28. What is difference between enum and Enumeration?
- Q29. What is difference between Iterator and ListIterator?
- Q30. What is relation between ListIterator and Iterator?
- Q31. Explain about HashSet class?
- Q32. If we are trying to insert duplicate values in Set what will happen?
- Q33. What is LinkedHashSet?
- Q34. Differences between HashSet and LinkedHashSet?
- Q35. What are major enhancements in 1.4 version of collection frame work?
- Q36. Explain about TreeSet?
- Q37. What are differences between List and Set interfaces?
- Q38. What is Comparable interface?
- Q39. What is Comparator interface?
- Q40. What are differences between Comparable and Comparator?
- Q41. What is difference between HashSet and TreeSet?
- Q42. What is Entry interface?
- Q43. Explain about HashMap?
- Q44. Explain about LinkedHashMap?
- Q45. Differences between HashMap and LinkedHashMap ?
- Q46. Differences between HashMap and Hashtable?
- Q47. What is IdentityHashMap?
- Q48. What is difference between HashMap and IdentityHashMap?
- Q49. What is WeakHashMap?
- Q50. What is difference between HashMap and WeakHashMap?
- Q51. What is TreeMap?
- Q52. What is Hashtable
- Q53. What is PriorityQueue?
- Q54. What is Arrays class?
- Q55. We are planning to do an indexed search in a list of objects. Which of the two Java collections should you use: ArrayList or LinkedList?
- Q56. Why ArrayList is faster than Vector?
No comments:
Post a Comment
Write your openion about my blog spot..To get automatic facebook updates like my Pagehttps://www.facebook.com/shivashankar4u ..It takes only 1 min to write the comment and to like the page.. Thanks.