Home » Java Programming » Inner Classes

Which statement, inserted at line 10, creates an instance of Bar? class Foo { class Bar{ } } class Test { public static void main (String [] args) { Foo f = new Foo(); /* Line 10: Missing statement? */ } }

Next →

Discussion & Comments

No comments yet. Be the first to comment!