객체지향프로그래밍이란 4편 - method에 대한 모든것-
1. method 특정 데이터 클래스의 객체에 공통적으로 적용 가능한 행위인 함수 클래스 안에 있는 함수 method의 종류에는 instance, class, static method가 있다 대부분이 instance method에 해당함 instance method는 instance와 관련된 것을 처리하는, instance에 영향을 미치는 함수 class method는 class와 관련된 것을 처리하는 함수 static method는 instance도 아니고 class도 아닌 method. class나 instance와는 상관 없다 2. instance method instance 변수를 사용하거나 instance 변수에 값을 설정하는 메소드 클래스 내부에 정의되는 기본적인 method들은 instanc..