+ 7
what is compound statement? (java)
in java
3 Answers
+ 18
compound statement(s) is any kind of statement(s) grouped between the curly brackets
//just like in example by D_Stark
//just 2 points âșđ
1)it can be any number
2)grouped between curly brackets
//it can be bracket of if statement, while loop etc ...
+ 6
for(;;){The body of this method is the compound which holds the expression statments};
+ 2
Compound statement is a statement which contains a number or any other expression within curly braces .