R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which concept allows you to reuse code in Java?

  • (A) Encapsulation
  • (B) Inheritance
  • (C) Abstraction
  • (D) Polymorphism
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`Inheritance` allows one class to inherit the properties of another.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.