English

What is the difference between "true" and true? - Computer Applications

Advertisements
Advertisements

Question

What is the difference between "true" and true?

One Line Answer

Solution

"true" (enclosed under double quotes) is a string literal whereas true (without double quotes) is a boolean literal. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - Review Insight [Page 30]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.03 Values and Data Types
Review Insight | Q 2. | Page 30
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×