Home › AKTU PYQ › Object Oriented Programming with Java › Important Questions › Unit 4

Object Oriented Programming with Java Unit 4 – Java Collections Framework: important questions for AKTU

Unit 4 (Java Collections Framework) questions that AKTU repeats most often. This unit carries about 22 marks per paper. Start with the repeated questions, then the most asked topics.

Most repeated Unit 4 questions

  • Give a detailed description of the Java Collection Framework hierarchy. Also explain the relationship between the Iterable, Collection, and List interfaces. (7 marks, 2026, Collection Framework Overview) – also asked in 2024, 2025
  • Write a Java program using ArrayList to store 5 employee objects (ID, Name, Salary). Sort the list by salary in descending order using a Comparator. (7 marks, 2026, Sorting and Comparators) – also asked in 2024, 2025
  • Write a Java program that uses a HashMap to store a Phone Book (Name as key, Phone Number as value). Implement a feature to search for a number by name. (7 marks, 2026, Map Interface Implementations) – also asked in 2024, 2025

Most important Unit 4 topic

  • Collection Framework Overview (Unit 4: Java Collections Framework) – asked 3 times in 2024, 2025, 2026
  • Map Interface Implementations (Unit 4: Java Collections Framework) – asked 3 times in 2024, 2025, 2026
  • List Interface Implementations (Unit 4: Java Collections Framework) – asked 3 times in 2024, 2025

Most asked Unit 4 topics

  • Collection Framework Overview – asked 3 times
  • List Interface Implementations – asked 3 times
  • Map Interface Implementations – asked 3 times

More Unit 4 previous year questions

  • Why does TreeSet keep elements in sorted order, while HashSet does not? (2 marks, 2026, Set Interface Implementations)
  • How does Stack differ from Queue? (2 marks, 2025, List Interface Implementations)
  • Compare and contrast ArrayList and LinkedList in terms of performance and usage. (7 marks, 2025, List Interface Implementations)
  • Write a program to demonstrate the use of HashMap and iterate through keys and values. (7 marks, 2025, Map Interface Implementations)
  • Discuss the hierarchy of the Collection framework in Java. Differentiate between List, Set, and Map. (7 marks, 2025, Collection Framework Overview)

Unit 4 syllabus topics

  • Collection Framework Overview
  • List Interface Implementations
  • Set Interface Implementations
  • Map Interface Implementations
  • Sorting and Comparators