1. MyClass(){}
  2. MyClass(void) {}
  3. public MyClass(){}
  4. public MyClass(void){}
  5. 1 and 3
7 views

1 Answers

Answer: Option 5

Choice A,C are the correct answers. The default access specifier for any constructor is same as the access specifier of class.so the options A and C are correct.

7 views

Related Questions