• non-static variable cannot be referenced from a static context
    => static 으로 선언된 함수내에서 static 으로 선언되지 않은 변수를 사용했을때 발생하므로 변수 선언하는 곳에서 static 키워드만 넣어주면 된다.
  • invalid method declaration; return type required
    => 에러가 발생한 메소드를 확인해보고 리턴 타입을 맞게 적어주어야 함.
  • java: illegal start of type
    => 컴파일러가 Java 언어의 규칙이나 구문을 준수하지 않으면 오류로 잡아냄.
  • java:cannot find symbol
    => 자바소스위에 import를 안 빼먹으면 사라지는 오류.
profile
완전초특급초보개발자

0개의 댓글