본문 바로가기

메서드10

[자바 기초] 템플릿 메서드 패턴 (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/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. 오버라이드 활용 public class Unit { protected String name; protected int power; protected int .. 2023. 8. 8.
[자바 기초] 객체와 객체 간 상호작용 복습 https://shins99.tistory.com/16 [자바 기초] 생성자 복습 https://shins99.tistory.com/12 [자바 기초] 함수와 메서드 복습 https://shins99.tistory.com/11 [자바 기초] 객체 지향 언어란? 복습 https://shins99.tistory.com/9 [자바 기초] 참조 자료형 - Scanner, Random 복습 https:// shins99.tistory.com 💡 학습 목표 1. 객체와 객체간에 상호작용이란? 2. 버스, 학생 클래스 설계하기 3. 매개변수에 참조 타입을 사용하는 의미 4. 메모리 구조도 생각해 보자. 버스 기능 만들어보기 public class Bus { // ** 속성 ** int busNumber; // .. 2023. 7. 31.
[자바 기초] 함수와 메서드 복습 https://shins99.tistory.com/11 [자바 기초] 객체 지향 언어란? 복습 https://shins99.tistory.com/9 [자바 기초] 참조 자료형 - Scanner, Random 복습 https://shins99.tistory.com/8 [자바 기초] for, while 복습 https://shins99.tistory.com/7 [자바 기초] if 문 복습 https://shins99.tistory.com/6 💡 shins99.tistory.com 함수와 메서드 💡 학습 목표 1. 함수에 대해 이해하자 . 2. 메서드에 대해 이해하자. 함수 (Function) ​ ● 하나의 기능을 수행하는 일련의 코드 ● 구현된(정의된) 함수는 호출하여 사용하고 호출된 함수는 기능이 끝.. 2023. 7. 28.