Computer Science, asked by shristi2005, 6 months ago

Difference between true and "true" ?
Nø spæm​

Answers

Answered by nishagupta89853
2

Answer:

A Boolean value is one with two choices: true or false, yes or no, 1 or 0. In Java, there is a variable type for Boolean values: boolean user = true; So instead of typing int or double or string, you just type boolean (with a lower case "b").

Answered by Anonymous
0

Difference :-

true means that it is a Boolean type literal and "true" means that it is a String type literal where it is double quoted ....

hope it helps you

Similar questions