How to use "if, else if and else" in appybuilder code editor

Hello Everyone,
Can anyone tell me that how to use “if, else if and else” in editor.appybuilder.com.[appybuilder code editor]

I don’t think this is the right place here for a Java beginner tutorial.