0
What is the use of if else statement in Java programming
I want to get knowledge about it and get good numbers in my examination
2 Answers
+ 10
Definition and Usage. The if/else statementexecutes a block of code if a specifiedcondition is true. If the condition is false, another block of code can be executed. Theif/else statement is a part of Java 's "Conditional" Statements, which are used to perform different actions based on different conditions.
0
Study from book nijnam. Don't waste time.