본문 바로가기 메뉴 바로가기

꿈 많은 개발자가 되자! Tae-hwan

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

꿈 많은 개발자가 되자! Tae-hwan

검색하기 폼
  • th-dev (867)
    • Android Develop (169)
    • Android App (161)
    • iOS (58)
      • Develop (10)
    • Devices (244)
      • Android Phone (113)
      • Etc (128)
    • Programming language (34)
    • Software (80)
    • Mac (18)
    • Ubuntu (21)
    • Web (34)
    • Etc (47)
  • 방명록

kotlin constructor (1)
[링크] Kotlin constructor init 이란?

다음 글은 전체 내용을 공유하지 않고, 새로운 블로그로 링크를 제공하는 글입니다.이어보기 : http://thdev.tech/kotlin/2017/03/09/Kotlin-Constructor-Init 2017. 03. 08 생성자 설명을 수정kotlin의 constructor 정리해보려고 합니다.우선 일반적인 java에서의 생성자는 아래와 같이 className(매개 변수) 형태로 정의 가능합니다.생성자를 여러 개 두더라도 override를 이용하여 이를 해결할 수 있습니다.public class Sample { private String name; private int age; private String birthday; public Sample(String name) { this.name = name..

Android Develop 2017. 3. 8. 09:19
이전 1 다음
이전 다음

Blog is powered by Tistory / Designed by Tistory

티스토리툴바