Computer Science, asked by stupefyjinx7460, 10 months ago

If public class prototype {} is a class, what would be the default constructor for this class?

Answers

Answered by sreenidhijan2007
1

Answer:

Option(d) is the correct answer to the given question.

Constructor are used to initialize the object of the class . ... Their is no return type of constructor not even void; We do not used the return keyword in constructor . In the option(A) and option(C) the void return type is used that's why it is incorrect option.

Similar questions