2018년 4월 16일 월요일

(4. 16.) 클래스, 멤버, 생성자, this, method, return, overloading, instance, static

1. Keyword: 클래스, 멤버, 생성자, this, method, return, overloading, instance, static

2. 클래스 멤버
  ○ 필드, 생성자, 메소드
    - 선언, 사용방법

3. Overloading
  ○ 사용성을 높여준다.


4. this() 메소드
  ○ 내 객체를 참조한다.

5. Variable Arguments
   ○ 자바 1.5이상부터 가능





6. 인스턴스 멤버와 static
     ○ static 멤버 외에는 인스턴스 멤버라고 보면 된다.
     ○ instance 멤버는 객체없이 사용 불가(메모리 instance 영역에 올려야 한다.)
     ○ static 멤버는 Class 필드/메소드라고 하며 메모리에 한 번만 올리는 것이 유리한 경우 사용
     ○ static 멤버 사용방법




2018. 4. 16.

댓글 없음:

댓글 쓰기

[Android Studio] Installation and Make a Layer for Mac OS(High Sierra)

1. download android studio https://developer.android.com/studio/#downloads 2. Make a Shared Resource(String in this case) 3...