Computer Science, asked by yugp1123, 5 months ago

How many statements can be grouped in a compound statement in java?

Answers

Answered by Anonymous
1

2.6.

2.6.A compound 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 Java syntax: for(int i = 0; i < 10; i++) { a[i]++; // Body of this loop is a compound statement.


yugp1123: i already searched this
Similar questions