Question:

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 ? */
    }
}

Answers:


Keywords:

© 2017 QuizBucket.org