Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package jp.co.confrage.template;
public class Japanese extends Human {
public Japanese(String sayMessage, String byeMessage) {
super(sayMessage, byeMessage);
}
@Override
public void handShake() {
System.out.println("握手");
}
@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