Constructor in Java
Constructor 1. A constructor has no return value, not even void. Constructor actually initializes the object of the class. If there is a return value, it would create an unexpected object. 첫번째, 생성자는 반환형이 선언되어 있지도, 반환형이 있지도 않다. 2. the Constructor name is the same as the class name. 두번째, 클래스의 이름과 동일하다. 3. the constructor can be overloaded여러개의 생성자가 존재할 수 있다. 4. if there is no constructor, a default..
JAVA
2019. 1. 2. 09:32
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- repeat()
- ... in Javascript
- math.max
- spring boot application
- equals()
- 프로그래머스 알고리즘문제
- Object type casting
- 프로그래머스
- easy javascript algorithm
- hackerrank javascript
- rest parameter
- 알고리즘
- Collection Framework
- string class in java
- hackerrank solution
- easy algorithm
- hackerrank
- compareTo()
- java
- math.abs
- hackerrank javascript solution
- algorithm
- HashMap
- C++
- Javascript Algorithm
- HackerRank Algorithm
- code refactoring
- javascript
- substring()
- 프로그래머스 알고리즘
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함