codeGK
Code it ALL
Else-If in Java - CodeGK

♦ Else-If in Java

♣ Example3: Else-If in Java

"else if" keyword is Java's interpretation as "if the previous conditions were not true, then try current given condition". In this example, .
Example
Input:
Output:
If_else