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 [पृष्ठ ३३]