else if

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #16
    In the OPs example it has this unreachable code (three times):

    Code:
    return <something>:
    System.out.println(<something>);
    After returning you can't print anything so the println() is unreachable.

    kind regards,

    Jos

    Comment

    Working...