Difference between true and "true" ?
Nø spæm
Answers
Answered by
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
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
English,
6 months ago
English,
6 months ago
English,
9 months ago
Math,
9 months ago
World Languages,
9 months ago