0% found this document useful (0 votes)
2 views1 page

Assignment III Adv Java

This document is an assignment for MCA II Semester students at JECRC University focusing on Advanced Java, specifically on the Collection Framework and Generic Programming. It outlines the course outcomes, assignment instructions, and three sections of questions that students must answer, covering topics such as Collection Interfaces, Generic Methods, and Collection Framework hierarchy. The assignment is to be submitted between March 28, 2026, and April 4, 2026, for a maximum of 64 marks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Assignment III Adv Java

This document is an assignment for MCA II Semester students at JECRC University focusing on Advanced Java, specifically on the Collection Framework and Generic Programming. It outlines the course outcomes, assignment instructions, and three sections of questions that students must answer, covering topics such as Collection Interfaces, Generic Methods, and Collection Framework hierarchy. The assignment is to be submitted between March 28, 2026, and April 4, 2026, for a maximum of 64 marks.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like