java.lang.ArrayIndexOutOfBoundsException: 0

Stack Overflow | Ritika Bhat | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    This code when run on eclipse gives exception.What is wrong with the code?

    Stack Overflow | 8 months ago | Ritika Bhat
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at SwitchCase.main()
    2. Unknown
      SwitchCase.main
      1. SwitchCase.main(SwitchCase.java:6)
      1 frame