Decision Making in Java Programming
Decision Making in Java
In this lesson, we will learn what is Decision Making in Java Programming, and how many types of Decision Making are there.
What is Decision Making
In Java programming, Decision Making is a process in which a programmer test certain conditions in the program. If the condition is true, then a set of statements are executed and if the condition is false, then another set of statements are executed.
In Java there are 5 types of Decision Making statements and they are:
- if Statement
- if else Statement
- else if Statement
- Conditional Operator
- switch case Statement
We will discuss all the decision making statements given above in the upcoming lessons.