Computer Science, asked by shreya1216, 1 year ago

state the difference between a Boolean literal and a character literal???

Answers

Answered by 20021973
61
boolean literals have only two results TRUE and FALSE.
whereas character literals returns only one CHARACTER
Answered by ramarekha2005
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.
Similar questions