What is the booleanValue() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the booleanValue() method?
Rating:
The booleanValue() method is defined only in the java.lang.Boolean class and no other wrapper class. This method is used to convert the value wrapped by the Boolean object into a primitive type boolean.
The method has the following signature:
This method takes no argument. It returns the value wrapped by the Boolean object from which it is called by using a dot (.) operator. The value returned by the method is a primitive type boolean.
Rating:
Was this information helpful?
Other articles
- What is array initializer?
- What is the parseDouble() method?
- What is a finally block?
- What is the Boolean class?
- SCJP CX310-055 Short Notes: Exam passing tips