give 5 differences between IF-ELSE statement and SWITCH statement in java
Answers
Answered by
3
Key Differences Between if-else and switch. Expression inside if statement decide whether to execute the statements inside if block or under else block. On the other hand, expression inside switch statement decide which case to execute. ... On the other hand, switch statement evaluates only character or a integer datatype.
jojo23:
pls mark as brilliant ans
Similar questions