Computer Science, asked by amanaby2005, 7 months ago

boolean b = true;
b++;
System.out.println(b);​

Answers

Answered by kingkobra80
1

Answer:

it would give an error

Explanation:

because boolean can't be incremented....

Similar questions