I recommend you go through this section of the Java tutorials:
The if-then and if-then-else Statements (The Java™ Tutorials > Learning the Java Language > Language Basics)
db
Type: Posts; User: Darryl.Burke
I recommend you go through this section of the Java tutorials:
The if-then and if-then-else Statements (The Java™ Tutorials > Learning the Java Language > Language Basics)
db
You do realize that the statement you refer to will be executed only when the program flow enters the last else-if -- or don't you?
db