MCQ
Which of the following method can be accepted without creating an instance of a class?
  • Constructor method
  • B
    Class method
  • C
    Instance method
  • D
    All of the above

Answer

Correct option: A.
Constructor method
Constructor method

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free