In this section, we are going to discuss about the control statements.
Different situations may demand different execution flow of the program. There can be many different conditions which you want your program to follow.
Some of these situations can be:
- You want your program to execute the same statement number of times.
- You want your program after executing a certain number of times
Let’s say you want to print 9 for a number of times and you don’t want to write print statement that number of times. What will you do? To solve this type of problem control statements are used in java.
- Lectures 9
- Quizzes 1
- Duration 1 hours
- Skill level All levels
- Language English
- Students 2
- Assessments Yes
Conditional Control Statements 4
Looping Control Statements 3
Unconditional Control Statements/Jump Statements 3