Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the default value of a boolean variable in Java?
Home
JAVA
What is the default value of a boolean variable in Java?
0
votes
asked
May 9
in
JAVA
by
rahuljain1
What is the default value of a boolean variable in Java?
A) true
B) false
C) null
D) 0
boolean
variable
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 9
by
rahuljain1
Answer: B
Explanation: The default value of a boolean variable in Java is false.
...