728x90
6.3 Designing Methods Top-Down Design
Private helper method
Divide and conquer ๋ฐฉ์์ผ๋ก ๋๋ ์ ๊ณต๋ตํ๋ ๊ฒ
Public์ ๋ฐ๊นฅ์์ ํ์๋ก ํ๋ ์ ๋ฌด๋ฅผ ์ํํ๋๋ก Public์ผ๋ก ์ ์๋์ด ์๊ณ
Public ๋ฉ์๋๋ฅผ ๊ตฌ์ฑํ๊ณ ๋์์ฃผ๊ธฐ ์ํด์ private๋ก ์ ์ธํ๋ค.
driver program, stub
ํ ์คํธ ํ๋ ํ๋ก๊ทธ๋จ์ ๋๋ผ์ด๋ฒ ํ๋ก๊ทธ๋จ์ด๋ผ๊ณ ๋ถ๋ฅด๊ธฐ๋ ํ๋ค.
๋๋ผ์ด๋ฒ ํ๋ก๊ทธ๋จ์ด ํ ์คํธ ํ๋ ๋จ๊ณ๋ฅผ ๋ ๊ฐ์ง๋ก ๋ถ๋ฅผ ์ ์๋ค.
ํ๋๋ Bottom up ํ๋๋ Top down
'๐ Major Study (Bachelor) > ๐ JAVA Programming' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
JAVA ํ๋ก๊ทธ๋๋ฐ 6.5 (0) | 2021.10.28 |
---|---|
JAVA ํ๋ก๊ทธ๋๋ฐ 6.4 (0) | 2021.10.28 |
JAVA ํ๋ก๊ทธ๋๋ฐ 8.2 (0) | 2021.10.26 |
JAVA ํ๋ก๊ทธ๋๋ฐ 8.1 (0) | 2021.10.26 |
JAVA ํ๋ก๊ทธ๋๋ฐ 7.6 (JavaFX) (0) | 2021.10.26 |