हिंदी

The default value of a boolean variable is ______.

Advertisements

प्रश्न

The default value of a boolean variable is ______.

विकल्प

  • False

  • 0

  • false

  • True

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

The default value of a boolean variable is false.

Explanation:

  • In Java, the default value of a boolean variable is false.
  • This is the value automatically assigned to boolean variables that are not explicitly initialized.
shaalaa.com
Tokens
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Specimen Paper
Advertisements
Share
Notifications



      Forgot password?
Use app×