if(Expression to be tested) {
code to execute
} else if(Expression to be tested) {
}
you can have as many else ifs as you want. But that's what it looks like.
9.5m questions
12.2m answers