/ JAVA

생성자(Constructor)

new 클래스();

  • 필드의 값을 설정하거나
  • 메서드를 호출해서 객체가 사용할수있도록 준비하는 역할 수행

생성자(Constractor)

References.