Home » Java Programming » Declarations and Access Control

Which of the following code fragments inserted, will allow to compile? public class Outer { public void someOuterMethod() { //Line 5 } public class Inner { } public static void main(String[] argv) { Outer ot = new Outer(); //Line 10 } }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!