Computer Science, asked by sssssspriyam10, 8 months ago

Write a Java statement to declare and initialize a boolean variable with any legal value. ​

Answers

Answered by ps1666520
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