Computer Science, asked by Anonymous, 9 months ago

What is a compound statement in java.

Answers

Answered by pavithranatarajan855
2

Answer:

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.

Explanation:

Answered by nosworthyjonesd1801
0

Answer:

A compound statement is a number of statements grouped together.

Explanation:

I hope it will help you.

Similar questions