동시에 재정의 및 과부하를 나타 냅니까? 클래스 B에"super"를 사용하는 재정의 메서드에서 Overriden 메서드를 호출하는 중입니다. 호출이 오버로드되는 중입니까?
public class A{
void someMethod(){
System.out.println("Class A's some method");
}
}
class B extends A{
void someMethod(){
super.someMethod(); // does this line reperesnt overloading of super class method??
System.out.println("Class B's some method");
}
}
Google에 '과부하'가 응답해야한다는 것을 Google에 알려 주면됩니다. 그렇게하지 않는 이유는 무엇입니까? – Tom