package pack1; public class A { private static void bar(){} public static void foo() { bar(); } }