java.lang.Error: Unresolved compilation problem: Array constants can only be used in initializers

Coderanch | naomi newman | 10 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

    coordinates in 2d array in java

    Coderanch | 10 months ago | naomi newman
    java.lang.Error: Unresolved compilation problem: Array constants can only be used in initializers

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: Array constants can only be used in initializers

      at Point.Lab12.main()
    2. Point
      Lab12.main
      1. Point.Lab12.main(Lab12.java:9)
      1 frame