Skip to content

Instantly share code, notes, and snippets.

Avatar

Kanwarpreet Singh Kanwar27

  • Canada
View GitHub Profile
View gist:3c55ff04f54369960cfe74d25e0d156d
//Parent class
public class Stato {
public String Animal(){
System.out.println("This can move");
return Animal();
}
}
//Child Class
public class Inherito extends Stato {