| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- feignClient
- 엔티티 매니저
- oAuth2
- tag
- button
- 어떤 개발자?
- jenkins
- Spring API
- 백엔드스쿨
- 카카오인가코드받기
- Docker
- input
- spring
- 백엔드공부
- 카카오인증토큰받기
- 백엔드 로드맵
- Java
- 카카오사용자정보가져오기
- static
- 엔티티 생명주기
- 상속
- GitHub_Actions
- 제로베이스
- ci/cd
- 인스턴스
- 예외
- Interface
- MIND 2023 #후기
- form
- html
Archives
- Today
- Total
목록clone (1)
HiDevelop
[Java] Object 클래스의 Clone 메소드
Clone 메소드 protected object clone() throws CloneNotSuppertedException 해당 메소드는 Object의 클래스에 정의되어 있는 메소드로, 호출된 인스턴스의 복사본이 생성되고, 복사본의 참조 값(주소값)을 반환한다. 다음의 코드를 보자 class Cat implements Cloneable{ String name; int age; public Cat(String name, int age) { this.age = age; this.name = name; } public void show() { System.out.printf("[%s, %d]",name, age); System.out.println(""); } public Object clone() throw..
Java
2022. 2. 18. 20:47