I am trying to see the working of Generics and it says that classes are compiled to normal classes and there is no type mentioned anywhere and there is checkcast operator which is passed the type to which the Object class is cast to which we are getting from ArrayList.
String i=ArrayListObject.get(position);
But when there are no types how come the compiler know that a generic ArrayList can only store the type declared in <>. Where is this information stored while compiling the class. kindly update