Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- 기본메신저
- 18108
- 10926
- dp
- kotlin
- PreferenceManager
- 10807
- BitMasking
- 꼬마 정민
- baekjoon
- Class Delegation
- 새싹
- 브루트포스
- debugSymbolLevel
- 1330
- 10430
- 파이썬
- 백준1107
- 백준
- 백준3085
- safari world
- 개수 세기
- Android
- 사파리 월드
- Counting The number
- 코틀린
- 디버그심볼
- 2525
- 25083
- 백준1476
Archives
- Today
- Total
목록Interface (1)
세상을 더 좋게
[Kotlin] Interface
인터페이스는 클래스를 통해 구현된다. Example1. Runtime polymorphism 구현하기 open class Instrument { open fun play() { println("Instrument.play()") } } class Wind : Instrument() { override fun play() { println("Wind.play()") } } class Stringed : Instrument() { override fun play() { println("Stringed.play()") } } class Percussion : Instrument() { override fun play() { println("Percussion.play()") } } fun main() { v..
Kotlin
2022. 2. 11. 21:57