public class Test { private static class Test2 { private static final String name = "Name"; } public static void main(String[] args) { System.out.println(Test2.name); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment