java.lang.ArrayIndexOutOfBoundsException: 0

Stack Overflow | Ritika Bhat | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 7 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