Write a Java statement to declare and initialize a boolean variable with any legal value.
Answers
Answered by
1
Answer:
So instead of typing int or double or string, you just type boolean (with a lower case "b"). After the name of you variable, you can assign a value of either true or ...
Similar questions