package overriding; public class A { void doSomething (int k) { System.out.println("Class A"); } }