what are the various control statements in java
Share
what are the various control statements in java
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
In Java, the control statements are divided into three categories which are selection statements, iteration statements, and jump statements. A program can execute from top to bottom but if we use a control statement. We can set order for executing a program based on values and logic.
Answer:
a programming language uses control statements to control the flow of execution of program based on certain conditions.