January 2002
Intermediate to advanced
264 pages
8h 3m
English
java.lang.Boolean
This class is a smaller counterpart to the J2SE
Boolean class. It provides an object wrapper
around the boolean primitive data type. The
boolean is the object’s only field, which is
set by the constructor and accessed using the
booleanValue() method.
public final classBoolean{ // public constructor publicBoolean(boolean value); // public instance methods public booleanbooleanValue(); public booleanequals(Object obj); public inthashCode(); public StringtoString(); }
Read now
Unlock full access