Java compilation error

#1

Hi, I just installed EPIJudge and i am trying to use it for the first problem (Parity). However, i am getting the following error in intellij.

Error:(68, 22) java: cannot find symbol
  symbol:   method of(java.lang.reflect.Type[])
  location: interface java.util.List

Also, i don’t see any implementation of List.of method in any java versions which take an array as an input. In java 8 (which i am using), there is no List.of method at all. Can someone help me out here. Thanks

0 Likes