A

Admin • 828.43K Points
Coach

Q. Can a method be both overloaded and overridden in the same class in Java?

  • (A) Yes, as long as the method names are the same
  • (B) Yes, as long as the access modifiers are the same
  • (C) No, it is not allowed
  • (D) No, method overloading and overriding are mutually exclusive
  • Correct Answer - Option(A)
  • 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.