public class ClassA { static int i = 10; static void print(){ System.out.println("OK"); } static class Nest { void print(){ System.out.println("OK"); } } }