A

Admin • 828.70K Points
Coach

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

  • (A) Only if the superclass is marked as "abstract"
  • (B) Only if the subclass is marked as "final"
  • (C) Yes, a subclass inherits static methods from its superclass
  • (D) No, static methods are not inherited
  • Correct Answer - Option(C)
  • Views: 11
  • 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.