What is a compound statement in java
chriskevin:
why
Answers
Answered by
2
A compound statement is any number and kind of statement grouped together within curly bracus .
Answered by
4
Acompound statement is any number and kind of statements grouped together within curly braces. You can use a compound statement anywhere a statement is required by Javasyntax: for(int i = 0; i < 10; i++) { a[i]++; // Body of this loop is a compound statement.
Similar questions