๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿš— Major Study (Bachelor)/๐ŸŸ  JAVA Programming

JAVA ํ”„๋กœ๊ทธ๋ž˜๋ฐ 6.4

by UKHYUN22 2021. 10. 28.
728x90

6.4 Overloading

 

the same, a different signature, The return type

 

 

๊ฐ™์€ ์ด๋ฆ„์„ ๊ฐ€์ง„ ๋ฉ”์†Œ๋“œ๊ฐ€ ์—ฌ๋Ÿฌ๊ฐœ ์žˆ๋Š” ๊ฒƒ์„ Overloading ์ด๋ผ๊ณ  ํ•œ๋‹ค.

Signature๋Š” ๋ฉ”์†Œ๋“œ์˜ Arguement์˜ ํƒ€์ž…, ๊ฐœ์ˆ˜, ์ˆœ์„œ ๋“ฑ๋“ฑ์„ ๋งํ•œ๋‹ค.

Return ํƒ€์ž…์€ signature์˜ ์†์„ฑ์ด ์•„๋‹ˆ๋‹ค.

 

 

 

The combination of method name and number and types of arguements, in order

 

 

Overload ์˜ ๊ฒฝ์šฐ๊ฐ€ ์•„๋‹ˆ๋‹ค.