class Burung {
void suara() {
}
}
class Anjing {
void suara() {
System.
out.
println("Guk-guk"); }
}
public class Main {
public static void main
(String[] args
) { Burung burung = new Burung();
Anjing anjing = new Anjing();
burung.suara();
anjing.suara();
}
}
Y2xhc3MgQnVydW5nIHsKICAgIHZvaWQgc3VhcmEoKSB7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJLaWNhdSIpOwogICAgfQp9CgpjbGFzcyBBbmppbmcgewogICAgdm9pZCBzdWFyYSgpIHsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIkd1ay1ndWsiKTsKICAgIH0KfQoKcHVibGljIGNsYXNzIE1haW4gewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgICAgIEJ1cnVuZyBidXJ1bmcgPSBuZXcgQnVydW5nKCk7CiAgICAgICAgQW5qaW5nIGFuamluZyA9IG5ldyBBbmppbmcoKTsKCiAgICAgICAgYnVydW5nLnN1YXJhKCk7CiAgICAgICAgYW5qaW5nLnN1YXJhKCk7CiAgICB9Cn0=