/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
static class A
{
void test()
{
System.
out.
println("Testujemy"); lol();
}
void lol()
{
System.
out.
println("Metoda z klasy A"); }
}
static class B extends A
{
@Override
void lol()
{
System.
out.
println("Metoda z klasy B"); }
}
{
new A().test();
new B().test();
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXN0YXRpYyBjbGFzcyBBCgl7CgkJdm9pZCB0ZXN0KCkKCQl7CgkJCVN5c3RlbS5vdXQucHJpbnRsbigiVGVzdHVqZW15Iik7CgkJCWxvbCgpOwoJCX0KCQkKCQl2b2lkIGxvbCgpCgkJewoJCQlTeXN0ZW0ub3V0LnByaW50bG4oIk1ldG9kYSB6IGtsYXN5IEEiKTsKCQl9Cgl9CgkKCXN0YXRpYyBjbGFzcyBCIGV4dGVuZHMgQQoJewoJCUBPdmVycmlkZQoJCXZvaWQgbG9sKCkKCQl7CgkJCVN5c3RlbS5vdXQucHJpbnRsbigiTWV0b2RhIHoga2xhc3kgQiIpOwoJCX0KCX0KCQoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJbmV3IEEoKS50ZXN0KCk7CgkJbmV3IEIoKS50ZXN0KCk7Cgl9Cn0=