what does the of method in the List class do in java code example
Example: list class type java
List<String> myList = new ArrayList<String>();
return (Class<List<String>>)myList.getClass();
List<String> myList = new ArrayList<String>();
return (Class<List<String>>)myList.getClass();