Returns an array containing Class
objects representing all
the public classes and interfaces that are members of the class
represented by this Class
object. This includes public
class and interface members inherited from superclasses and public class
and interface members declared by the class. This method returns an
array of length 0 if this Class
object has no public member
classes or interfaces. This method also returns an array of length 0 if
this Class
object represents a primitive type, an array
class, or void.
Class
objects representing the public
members of this class
SecurityException
| If a security manager, s, is present and
the caller's class loader is not the same as or an
ancestor of the class loader for the current class and
invocation of s.checkPackageAccess() denies access to the package
of this class. |
Diagram: Class, Package, Module