Computer Science, asked by prateek317, 1 year ago

brief introduction of decision making in java in long answer ​

Answers

Answered by princess4157
2

Answer:

Java If Statement

If statement in java is the simplest selection statement, it checks whether the condition is true or false and if the condition is true then the if statement is executed.

It else Statement in Java

Java if else statement is an upgraded if statement, it tests the condition and if the condition is false then else statement is executed. These statements are popular for decision making in Java

Nested-If Statements in Java

Java nested if statement is an if or an if else statement within an if statement. It means that we can execute multiple if statements with this. Java allows nesting within the loops.

PLEASE MARK AS BRANALIST ANSWER.

Similar questions