A

Admin • 828.03K Points
Coach

Q. In Java, can a subclass inherit constructors from its superclass?

  • (A) Only if the subclass is marked as "final"
  • (B) Yes, a subclass inherits constructors from its superclass
  • (C) Only if the superclass is marked as "static"
  • (D) None of the above
  • Correct Answer - Option(D)
  • Views: 12
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
Option A: Only if the subclass is marked as "final"

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.