what is if else case in java
Answers
Answered by
0
Answer:
If else means if condition is true or false
Mark me as brainlist
Answered by
1
Answer:
Java if...else (if-then-else) Statement
The if statement executes a certain section of code if the test expression is evaluated to true . However, if the test expression is evaluated to false , it does nothing. In this case, we can use an optional else block. ... This is known as the if-then-else statement in Java.
Explanation:
hope it helps
Similar questions