Class<? extends String> java.lang.Object.getClass() Returns the runtime class of an object. That Class object is the object that is locked by static synchronized methods of the represented class. Returns: The java.lang.Class object that represents the runtime class of the object. The result is of type Class where X is the erasure of the static type of the expression on which getClass is called.
Returns the runtime class of an object. That Class object is the object that is locked by static synchronized methods of the represented class. Returns:
The java.lang.Class object that represents the runtime class of the object. The result is of type Class where X is the erasure of the static type of the expression on which getClass is called.