Boolean
Literals
The only
allowed values for boolean datatype are true, false.
Which of the
following are valid declaration
character literal
A char
literal can be represented as a single character with in single quotes.
Ex:
we can represent a char literal by using it’s Unicode value. For the allowed Unicode values are 0 to
65535.
Ex:
No comments:
Post a Comment