A

Admin • 828.03K Points
Coach

Q. What would be the behaviour if one parameterized constructor is explicitly defined?

  • (A) Compilation error
  • (B) Compilation succeeds
  • (C) Runtime error
  • (D) Compilation succeeds but at the time of creating object using default constructor, it throws compilation error
  • Correct Answer - Option(D)
  • Views: 17
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.