DIFFERENCE BETWEEN IF AND IF ELSE STATEMENT IN JAVA
Answers
Answered by
2
Answer:
❤️❤️The existing answers fail to mention the most important difference between if and else if. The expression after if will always be evaluated. If it evaluates to true, then the block will be executed. The expression after else if will only be evaluated if every expression earlier in the statement evaluated to false.❤️❤️
Explanation:
❤️❤️hello dear here is your answer mark it brainlist ok and follow me... :) ☺️☺️❤️❤️
Answered by
1
Answer:
hey ✌✌
ANSWER :
The existing answers fail to mention the most important difference between if and else if. The expression after if will always be evaluated. If it evaluates to true, then the block will be executed. The expression after else if will only be evaluated if every expression earlier in the statement evaluated to false.
HOPE IT HELPS U ✔✔
GDHE!!xD.....
byee good night !!☺❤
Similar questions