JECRC University, Jaipur
School of Computer Applications
Assignment III
Class: MCA II Semester
Subject Name: Advanced Java
Course Code: MCA130A
Date of Allotment: 28/3/2026
Date of Submission: 04/4/2026
Maximum Marks: 64
Course Outcomes (COs):
CO3: Develop applications using the collection framework and concepts of generic
programming.
Instructions:
1. Attempt all the questions.
2. Illustrate your answers with suitable examples and diagrams, wherever necessary.
3. Write relevant question numbers before writing the answer.
Section 1. (Answer the following questions) (2x5=10 marks)
1. [CO3] What is the Collection Framework in Java? Explain its benefits.
2. [CO3] What are Collection Interfaces in Java? List and explain any two.
3. [CO3] What is Generic Programming? Explain with an example.
4. [CO3] Explain the concept of Type Naming in Generics.
5. [CO3] What is Type Erasure in Java Generics?
Section 2. (Answer the following questions) (3x7=21 marks)
1. [CO3] Explain different types of Collection Implementations in Java.
2. [CO3] Demonstrate the use of Generic Methods and Constructors with an example.
3. [CO3] Explain the concept of Wildcards in Generics with an example.
Section 3. (Answer the following questions) (3x11=33 marks)
1. [CO3] Explain in detail the Collection Framework hierarchy with examples.
2. [CO3] Write a Java program that demonstrates Bounded Type Parameters in Generics.
3. [CO3] Write a Java program to create a generic method that compares two lists of the
same type and checks if they have identical elements.