S
Stefan Ram
[email protected] said:If you want to find the class that represents
java.lang.Integer, you can do this with:
Class<Integer> integerClass=Integer.class;
The class that represents »java.lang.Integer« is
»java.lang.Integer.class«.
The class that represents »Integer« is »Integer.class«.
If both class designations refer to a class, in a specific
expression, they do not have to refer to the same class.
However, a specific import declaration, such as
import java.lang.Integer;
would make the two class designations refer to the same class.