annotation 썸네일형 리스트형 [JAVA] @SuppressWarnings("serial") 1. 개요 - 객체를 파일에 쓰거나 전송하기 위해 객체 클래스에 Serializable 인터페이스를 implements 함. - 하지만, Serializable 인터페이스를 implements 하게 되면 warnning이 발생한다. - warnning이 발생하지만 동작하는데는 문제가 없다. - 불필요한 warnning을 제거하는 방법. 2. @SuppressWarings - 부적절한 compiler의 경고를 제거하기 위해 사용 - compile 시 warnning을 체크하지 않기 위해 사용 2. serial - java.io.Serializable 인터페이스를 implements 할때, serialVersionUID를 정의해주지 않은 경우 나타나는 warnning을 체크하지 않음 3. serialVers.. 더보기 이전 1 다음