Any class in the java has a .class , I want to know .class is a static method or not? Or it is a public static field?
boolean alwaysTrue = (String.class == C
Its neither. It's a built-in language feature (a class literal) that looks like a public static final field.