Question:-
1.
Write a Complete chapter on Generics in java which includes Definition,
importance and uses. You have to write a program which completely explains the
concept of Generics.
Create a generic class that contains a method
sameAvg() that determines if two Stats objects contain arrays that yield the
same average, no matter what type of numeric data each object holds. Call this
method in another class and show details.
Assignment
Title
Name of Student:
Registration Number:
Section:
Roll No:
Problem No. Assigned:
// You
can write answer(theoretical) of the topic along with relevant programs
assigned to you. If there is any subheading, write 1.1 or 1.2 etc.
// with explanation
Don’t copy paste anything.
Get Free Quote!
430 Experts Online