|
sxias
Search posts...
Internal Traffic (traffic_type=internal)
Accessed from the dashboard.
This session is not logged.
자바
[JAVA] 32. 생성자
문정준
Feb 11, 2025
Share
✅
생성자 (Constructor)
객체가 생성될 때 객체를 초기화
하는 메서드
객체를
생성할 때에만 값 설정
가능
생성자에서 중요한 점
객체 지향 프로그램에서 클래스 내의 상태는 행위로 변경
상태 직접 변경을 막기 위해 접근제어자를 사용
Burger 생성자
Television 생성자
Box 클래스
Share article
Share
See more posts
[JAVA] 34. Television 생성자
February 11, 2025
[JAVA] 33. Burger 생성자
February 11, 2025
[JAVA] 31. DeskLamp 클래스
February 11, 2025
[JAVA] 30. Circle 클래스
February 11, 2025
sxias
RSS
·
Powered by Inblog