/* 접근 제한자(Access modifier)
access modifier
기타 modifier
- 옵션
1. static
1. 변수 - 공유자원
2. 메소드 - 객체 생성없이 메소드 호출 가능 기능만 제공
3. static{} - 공유자원 단 1번 실행, byte code가 로딩시 단 한번 실행
2. abstract
- 추상
3. final
4. synchronized
*/
+) null값 채우기
+) 추가서비스 개발
Student 타입의 allData 배열(길이5) 생성;
숫자 인덱스 생성
가상 데이터
static {} 초기화
allData 인덱스에 새로운 Student 타입의 데이터(name, age) 추가
index 값 지정
----------------------
- model.domain 가장 근본적인......??/
Student 클래스와, Student 생성자와 get/set메소드
- model
실제 로직...?
ㄴ 모든검색 getAll
ㄴ 학생검색 getOne
ㄴ 학생 등록 insert
ㄴ 학생 정보 삭제 delete
ㄴ 학생 정보 수정(한살 추가) updateAge
- 컨트롤러 ---> 단순한 연결의 역할인가...?
StartView -> Controller -> EndView.메소드(StudentModel.메소드 : model참조)
request(reqnum)
리퀘스트 번호에 맞춰 로직 실행
- view
입, 출력
start / controller.메소드(reqNumber)
end / 출력 (+출력형태)
ㄴ 모든검색 : printAll
ㄴ 특정 학생 : printOne
용민이가 알려준,,,,,,,,
model -cpu
controller - keyboard, mouse
veiw - moniter