Java Question

[deleted because it was pointless]

[deleted because it was pointless].

Answer Source

Because you are trying to write else if after else statement. Your else statement should be written as last condition. It's the case that executes at final if any of the above cases was not satisfied.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download