Java Object Methods by Category

There are five categories of Java object methods.
Java Object Methods by Category
Category
Description
Deletion
enables you to delete a Java object.
Exception
enables you to gather information about and clear an exception.
Field reference
enables you to return or set the value of static and non-static instance fields of the Java object.
Method reference
enables you to access static and non-static Java methods.
Output
enables you to send the Java output to its destination immediately.
The following table provides brief descriptions of the Java object methods. For more detailed descriptions, see the dictionary entry for each method.
Category Language elements Description
DeletionDELETE MethodDeletes the Java object.
ExceptionEXCEPTIONCHECK MethodDetermines whether an exception occurred during a method call.
EXCEPTIONCLEAR MethodClears any exception that is currently being thrown.
EXCEPTIONDESCRIBE MethodTurns the exception debug logging on or off and prints exception information.
Field referenceGETtypeFIELD MethodReturns the value of a non-static field for a Java object.
GETSTATICtypeFIELD MethodReturns the value of a static field for a Java object.
SETtypeFIELD MethodModifies the value of a non-static field for a Java object.
SETSTATICtypeFIELD MethodModifies the value of a static field for a Java object.
Method referenceCALLtypeMETHOD MethodInvokes an instance method on a Java object from a non-static Java method.
CALLSTATICtypeMETHOD MethodInvokes an instance method on a Java object from a static Java method.
OutputFLUSHJAVAOUTPUT MethodSpecifies that the Java output is sent to its destination.