A

Admin • 831K Points
Coach

Q. Find whether these two rules are correct or not defined by the constructor
1. Constructor name must be same as its class name.
2. Constructor must have no explicit return type.

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---
  • Correct Answer - Option(A)
  • Views: 12
  • 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.