#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목[re]step16 문제 질문2020-05-28 16:07
작성자

setId와 setName은 객체가 생성된후 id와 name을 변경하는 경우 사용될 수 있습니다.

__init__은 생성자로써 객체가 생성될 때 호출됩니다.

student1 = Student(20190001,"Harry Potter")

에서 호출되며 객체의 id와 name을 초기화 시켜줄 수 있습니다.

댓글
이전step16 문제 질문2020-05-27
다음step 17 실습파일2020-05-27