class ClassA { private static void met(){ System.out.println("ClassA static!"); } } class ClassB extends ClassA { static int met(){ return 10; } } class Samp09 { public static void main(String[] args){ System.out.println(ClassB.met()); } }