हिंदी

Give reason whether the following assignment is correct or not. boolean p = false; - Computer Applications

Advertisements
Advertisements

प्रश्न

Give reason whether the following assignment is correct or not.

boolean p = false;

एक पंक्ति में उत्तर

उत्तर

This assignment is correct since false is a valid boolean literal that is assigned to a boolean variable. 

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.03: Values and Data Types - EXERCISES [पृष्ठ ३३]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.03 Values and Data Types
EXERCISES | Q III. 12. (d) | पृष्ठ ३३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×