state the difference between a Boolean literal and a character literal???
Answers
Answered by
61
boolean literals have only two results TRUE and FALSE.
whereas character literals returns only one CHARACTER
whereas character literals returns only one CHARACTER
Answered by
79
A boolean literal stores a boolean value, that is, either true or false. Eg- pass=true.
A character literal stores a single character within single quotes. Eg-'v', '5',etc.
A character literal stores a single character within single quotes. Eg-'v', '5',etc.
Similar questions