Computer Science, asked by sujit1970dutta, 6 months ago

why statements are used in Java​

Answers

Answered by varchasigupta
1

Answer:Unlike most programming languages, Java doesn't use statements as its fundamental unit of code. Instead, it gives that honor to the class. However, every class must have a body, and the body of a class is made of one or more statements.

Hope it helps you

please mark me as brainliest

Stay home stay safe

Answered by Akansha3652
3

Java statements are instructions that tell the programming language what to do, like declaration and string statements. Basic statements define variables and initiate Java methods or start the execution of blocks of other statements. Assignment statements assign values to variables.

Continue statement in java. The continue keyword can be used in any of the loop control structures. It causes the loop to immediately jump to the next iteration of the loop. In a for loop, the continue keyword causes control to immediately jump to the update statement.

pls follow me and Don't forget to follow me

Similar questions