본문 바로가기

Foggy day

검색하기
Foggy day
프로필사진 jinhan38

  • 분류 전체보기 (134)
    • Android (47)
    • Kotlin (26)
    • Flutter (60)
      • Flutter document (2)
      • Flutter widget (27)
      • Flutter 앱 (2)
      • Dart 문법 (14)
      • Flutter 기타 (12)
      • Flutter 강의 (1)
Guestbook
Recent Posts
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록kotlin class extension (1)

Foggy day

Kotlin - class extension

Add open in front of class to extend class in kotlin. class KotlinPlayGroundActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_kotlin_play_ground) val people = People("jinhan", 30) println("name : ${people.name}, age : ${people.age}") } class People(name: String, age: Int) : Person(name, age) {..

Kotlin 2021. 3. 15. 21:24
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바