super keyword
SuperA super keyword refers to a parent class. Attaching () with super keyword means the constructor of the parent class. This ensures that no errors occur even if the default constructor for the parent class is lost. Example Code I1234567891011121314151617181920212223242526272829303132333435class Calculator { int a, b; public Calculator(){} //하위클래스가 호출될 때 자동으로 부모클래스의 생성자가 호출 //매개변수가 없는 기본생성자가 없..
JAVA
2019. 1. 3. 08:31
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- HashMap
- 프로그래머스
- substring()
- equals()
- javascript
- code refactoring
- math.max
- 프로그래머스 알고리즘문제
- math.abs
- algorithm
- repeat()
- Javascript Algorithm
- spring boot application
- ... in Javascript
- HackerRank Algorithm
- 프로그래머스 알고리즘
- java
- hackerrank solution
- rest parameter
- easy algorithm
- hackerrank javascript solution
- Object type casting
- hackerrank
- hackerrank javascript
- Collection Framework
- 알고리즘
- string class in java
- easy javascript algorithm
- compareTo()
- C++
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함