Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package jp.co.confrage.template;
public class American extends Human {
public American(String sayMessage, String byeMessage) {
super(sayMessage, byeMessage);
}
@Override
public void handShake() {
System.out.println("handShake");
}
@Override
public void say(String message) {
System.out.println(message);
}
@Override
public void bye(String message) {
System.out.println(message);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment