본문 바로가기

[JAVA]/[자바 기초]26

[자바 기초] Object 클래스 복습 https://shins99.tistory.com/38 [자바 기초] 인터페이스 (Interface) 복습 https://shins99.tistory.com/37 [자바 기초] String 클래스 복습 https://shins99.tistory.com/36 [자바 기초] 템플릿 메서드 패턴 (Template Method Pattern) 복습 https://shins99.tistory.com/35 [자바 기초] 추상 클래스 복습 shins99.tistory.com 💡 학습목표 1. Object가 무엇인지 알아보자 2. 간단하게 예제를 풀어보자 Object 클래스 - 모든 클래스의 최상위 클래스 → 모든 클래스는 Object 클래스에서 상속 받음 (extends 키워드 생략) → Object 클래스의 .. 2023. 8. 11.
[자바 기초] 인터페이스 (Interface) 복습 https://shins99.tistory.com/37 [자바 기초] String 클래스 복습 https://shins99.tistory.com/36 [자바 기초] 템플릿 메서드 패턴 (Template Method Pattern) 복습 https://shins99.tistory.com/35 [자바 기초] 추상 클래스 복습 https://shins99.tistory.com/34 [자바 기초] 다형성 복습 https:/ shins99.tistory.com 💡 학습 목표 1. 인터페이스에 대한 기본 개념 2. 문법적인 부분을 살펴 보자. 인터페이스 (Interface) - 구현된 것이 아무것도 없는 밑 그림만 있는 기본 설계도 특징 - 멤버 변수, 일반 구현 메서드를 가질 수 없음 → 오직 추상 메서드와.. 2023. 8. 11.
[자바 기초] String 클래스 복습 https://shins99.tistory.com/36 [자바 기초] 템플릿 메서드 패턴 (Template Method Pattern) 복습 https://shins99.tistory.com/35 [자바 기초] 추상 클래스 복습 https://shins99.tistory.com/34 [자바 기초] 다형성 복습 https://shins99.tistory.com/32 [JAVA] 상속 복습 https://shins99.tistory.com/25 [자바 기초] 배열 복습 h shins99.tistory.com 💡 학습 목표 1. 문자열 생성 방법을 이해하자 2. 상수풀 영역이라는 것을 이해 하자. (Constant Pool) 3. 값을 비교할 때는 equals 를 반드시 사용하자. String - 문자열.. 2023. 8. 11.
[자바 기초] 템플릿 메서드 패턴 (Template Method Pattern) 복습 https://shins99.tistory.com/35 [자바 기초] 추상 클래스 복습 https://shins99.tistory.com/34 [자바 기초] 다형성 복습 https://shins99.tistory.com/32 [JAVA] 상속 복습 https://shins99.tistory.com/25 [자바 기초] 배열 복습 https://shins99.tistory.com/23 [자바 기초] static 복습 https://shi shins99.tistory.com 💡 학습 목표 코드의 실행의 흐름 정의하기 템플릿 메서드 패턴 (Template Method Pattern) - 추상 메서드, 구현된 메서드 활용해서 코드의 흐름(시나리오)를 정의하는 디자인 패턴 - final로 선언 = 메서드 오버.. 2023. 8. 10.
[자바 기초] 추상 클래스 복습 https://shins99.tistory.com/34 [자바 기초] 다형성 복습 https://shins99.tistory.com/32 [JAVA] 상속 복습 https://shins99.tistory.com/25 [자바 기초] 배열 복습 https://shins99.tistory.com/23 [자바 기초] static 복습 https://shins99.tistory.com/21 [자바 기초] C R U D 의 개념 복습 ht shins99.tistory.com 💡 학습 목표 1. 추상 클래스에 의미 2. 메서드(함수)의 선언부란 3. 메서드(함수)의 구현부란 4. abstract 예약어를 알자 5. 추상 클래스는 개발자 입장에서 new 키워드를 일반적으로 사용할 수 없다. 추상 클래스 (Abst.. 2023. 8. 10.
[자바 기초] 다형성 복습 https://shins99.tistory.com/32 [JAVA] 상속 복습 https://shins99.tistory.com/25 [자바 기초] 배열 복습 https://shins99.tistory.com/23 [자바 기초] static 복습 https://shins99.tistory.com/21 [자바 기초] C R U D 의 개념 복습 https://shins99.tistory.com/20 [자바 기초] this shins99.tistory.com 💡 학습 목표 1. 다형성에 대한 개념을 이해하자. 2. 업캐스팅이란 무엇일까? 3. 다운캐스팅이란 무엇일까? 4. instanceof 연산자를 이해하자. 다형성 (Polymorphism) - 하나의 코드가 여러 자료형으로 구현되어 실행되는 것 (.. 2023. 8. 9.