I know that Vector<int []> is a vector of integer arrays, and HashTable<String, Person> is a table of whose keys are strings and values Persons.
What is the usage of Class<>? The java class ‘Class’ takes the template name in eclipse. Why should I use it there? In general ‘Class’ object is used when you don’t have the information about an object fully. Why does eclipse make me specify which class the Class object will hold?
Can anyone please explain the reason behind this?