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...

Markdown supported · ⌘↵ to post
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.