Inheritance
Inheritance 상속 Inheritance in Java, it allows that a child class can acquire the features from a parent class, to avoid duplicate code and it is easy to maintain the program. 다른 클래스의 기능을 사용하고 싶을때 상속을 통해서 자식 클래스가 부모클래스의 기능을 그대로 사용할 수 있다. 그로인해 코드의 중복을 피할 수 있고 유지보수 또한 편리해지는 장점(하나가 변하면 다른 쪽도 자동으로 영향을 받기에)을 얻을 수 있다. extends keyword syntax class Bird extends Animal -> Class Bird inherits its super cla..
JAVA
2019. 1. 3. 07:02
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Collection Framework
- HashMap
- easy algorithm
- algorithm
- C++
- Object type casting
- hackerrank javascript solution
- hackerrank solution
- Javascript Algorithm
- repeat()
- code refactoring
- hackerrank javascript
- spring boot application
- compareTo()
- substring()
- 프로그래머스 알고리즘문제
- math.abs
- math.max
- 프로그래머스
- 프로그래머스 알고리즘
- rest parameter
- string class in java
- ... in Javascript
- java
- easy javascript algorithm
- equals()
- 알고리즘
- hackerrank
- javascript
- HackerRank Algorithm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함