हिंदी

Define the following with an example: boolean data type - Computer Applications

Advertisements
Advertisements

प्रश्न

Define the following with an example:

Boolean data type

परिभाषा

उत्तर

This data type allows variables to be either true or false based on a constant value. These are nonfigurative constants. The default value for a boolean variable is false.

Example: boolean flag = false;

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. 3. (c) | पृष्ठ ३३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×