What is the prototype of the default constructor? public class Test { }

PYQ RPSC Programmer 2011

What is the prototype of the default constructor?

public class Test { }

  1. A.

    Test()

  2. B.

    Test(void)

  3. C.

    public Test()

  4. D.

    public Test(void)

Attempted by 2 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…