08 Java - Classes (Part II - Generic Class)
Introduction to Generic Classes
If we have an object with a field of type Object, then this object can hold any type of class because Object is the parent class of all classes. Therefore, when accessing the field of this class, we should be careful b...
chetan77.hashnode.dev7 min read
Rahul jaiswal
Developer
In Raw Type of generic class while creating object of class Print its parameter should be Object not Integer. Please correct me If I am wrong.