[코딩 오류 노트] if문, System, printf()/println(), 불필요한 .
1. printf 형식에 println 입력 오류 메시지 Exception in thread "main" java.lang.Error: Unresolved compilation problem: the method println(int) in the type PrintStream is not applicable for the arguments (String, int) 코드 System.out.println("음악을 %d번 재생했습니다.\n", ++count); 해결 (" ", )형식은 printf에서 사용한다. printf(" ", ) println() 2. System.out.println에서 out 미입력 오류 메시지 Exception in thread "main" java.lang.Error: Unr..