1. 메서드 오버로딩 생성자 오버로딩과 같이 메서드도 오버로딩 할 수 있습니다. 메서드의 이름이 같더라도 메서드에 선언된 매개 변수의 개수나 자료형이 다르면 동일한 이름의 메서드를 여러 개를 선언할 수 있습니다. class Person { void setData(String name) { … } void setData(int age) { … } void setData(String name, int age) { … } } 그리고 이런 방식으로 메서드를 사용할 수 있습니다. Person person = new Person(); person.setData("이철수"); person.setData(30); person.setData("이철수", 30); 다만 생성자 오버로딩에서 주의할 점과 똑같이, 같은 자료형..