/**
* @author George
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
class Father2{
public void print(){
Conica.pl("Father.print()");
}
}
class Son extends Father2{
public void print(){
Conica.pl("Son.print()");
}
}
public class Acceptor {
public static void main(String[] args){
Father2 mafia;
mafia = new Father2();
mafia.print();