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
- TypeScript
- Hook
- button
- 리액트
- stylesheet
- Linux
- Kotlin
- 스프링부트
- 코틀린
- TextView
- JS
- array
- nodejs
- 랜덤넘버
- 자바스크립트
- npm
- 구글맵스
- Android
- Javscript
- SpringBoot
- GoogleMaps
- fragment
- React
- Java
- 오버라이딩
- RecyclerView
- 안드로이드
- JavaScript
- scrollview
- 랜덤번호
Archives
- Today
- Total
목록오버로딩 (1)
타닥타닥 개발자의 일상

기억해야 할 개념 추상클래스는 추상 메소드를 하나이상 포함하고 있는 클래스이다. 추상 클래스는 일반 메소드와 추상 메소드(최소 1개 이상) 모두 가질수 있다. 부모 추상 클래스 안에 있는 추상속성, 추상메소드는 반드시 자식 클래스에서 구현해야지 오류가 나지 않는다. 클래스는 다중 상속이 불가능하다. 인터페이스는 다중 상속이 가능하다. fun main(args: Array) { myPrinter.print() //출력값: myPrinter print} abstract class Printer{ // 추상 클래스 : 추상 메소드를 하나이상 포함하고 있는 클래스 abstract fun print() //추상 메소드 fun method() = println("") //일반 메소드 } val myPrinter =..
코딩 기록/Kotlin
2022. 1. 26. 23:25