Give an example for Boolean literal
Answers
Answered by
3
Answer:
boolean literals represent only two values true or false and in java the value of 1 is assumed as true and the value of 0 is assumedas false.
Answered by
0
Answer:
Boolean literals represent only two values true or false. And in Java the value of 1 is assumed as true and the value of 0 is assumed as false.
Similar questions