第2个回答 2016-06-27
import java.io.BufferedReader;
public class baidu extends Search {
public static void main(String[] args) throws IOException {
new baidu().superFunction() ;
}
public void function(){
System.out.println("I am baidu!");
}
public void superFunction(){
super.function() ;
}
}
class Search{
public void function(){
System.out.println("I am search!");
}
}本回答被网友采纳