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

Coderanch | naomi newman | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    coordinates in 2d array in java

    Coderanch | 1 year 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