직렬화2 학원 수업 16일차 220908 '이것이 자바다' 교재 연습문제 블로그에 풀이 올려! 15장 7번문제 collection.ex.MemoServiceProcess.java 참고 9-10 CRUD DML 컬렉션 : 객체(class단위)집합을 처리하기 위한 라이브러리 Member.java getters and setters 직접 치는거 연습해 단축키 Alt+Shift+S(우클릭>source) 10-11 인터페이스에서는 바디 있으면 안돼 -> 추상메서드 바디 있을거면 default 있어야 됨(?) 11-12 프로그램->파일 : 출력스트림 FileOutputStream 12-1 serializeable 오류 (직렬화) 오류메시지 java.io.NotSerializableException: day0908.collection.ex03.Member .. 2022. 10. 6. 학원 수업 11일차 220901 11-12 입출력스트림 FileOutputStream try - catch - finally FileOutputStream fos= new FileOutputStream(fileName, true); //true : 덮어쓰기X, 기존데이터 + 추가데이터 저장 12-1 ObjectOutputStream Classes that require special handling during the serialization and deserialization process must implement special methods with these exact signatures: 직렬화..? public class LottoDTO implements Serializable 2-3 for(: 배열){} 향상된 for문(.. 2022. 10. 6. 이전 1 다음