SuperClass « Reflection « Java






1.Getting the Superclass of an Object
2.Superclass of Object is null
3.The superclass of primitive types is always null
4.Although the type of o2 is an interface, getSuperclass() returns the object's superclass
5.Retrieving other information through the class pointer
6.Return true if class a is either equivalent to class b, or if class a is a subclass of class b, i.e. if a either "extends" or "implements" b.
7.Allows the user to reflectively inspect an object hierarchy