if else in java
If-else:
It is a block of statements where if a condition is true the block of statements is executed otherwise it would not be executed.
If-else:
It is a block of statements where if a condition is true the block of statements is executed otherwise it would not be executed.