Boolean Wrapper Class

Convert Java Boolean object to boolean primitive example

Want to learn quickly?
Try one of the many quizzes. More than Java 400 questions with detailed answers.

2 Comments

  • This code is pretty much wrong. It completely ignores that Boolean values can be (and often are) null. NPE exceptions galore using this code.

Sponsors

Facebook Fans