Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

Boolean vs boolean in Java

Asked by Naveen Sharma May 12, 2025 1.7K views 1 answer
Share

About this question

What is the difference between Boolean and boolean in Java? Learn how boolean is a primitive data type for storing true/false values, while Boolean is the wrapper class that provides methods to work with boolean values as objects.

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.