package ch14.sec06.exam01; public class User1Thread extends Thread { private Calculator calculator; Thread thread=Thread.currentThread(); thread.setName("User1Thread"); public void setCalculator(Calculator calculator) { this.calculator=calculator; } @Override public void run() { calculator.setMemory1(100); } } thread.setName("User1Thread");에서 Multiple markers at this line - Syntax error, insert "SimpleName" to complete QualifiedName - Syntax error, insert ")" to complete MethodDeclaration - Syntax error on token ".", @ expected after this token - Syntax error, insert "Identifier (" to complete MethodHeaderName 이 오류가 뜨는 이유는 무엇입니까? public User1Thread() { setName("User1Thread"); } 코드를 쓰면 오류가 안뜨는데 저렇게 하는 왜 뜨는지 모르겠습니다.