Package | Description |
---|---|
java.lang |
MID Profile Language Classes included from Java 2 Standard
Edition.
|
Modifier and Type | Method and Description |
---|---|
static Class |
Class.forName(String className)
Returns the
Class object associated with the class
with the given string name. |
Class |
Object.getClass()
Returns the runtime class of an object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Class.isAssignableFrom(Class cls)
Determines if the class or interface represented by this
Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter. |
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.