Q. What is the concept of method overriding in Java inheritance?

  • (A) Making a method static
  • (B) Redefining a superclass method in a subclass with the same method signature
  • (C) Hiding a superclass method
  • (D) None of These
πŸ’¬ Discuss
βœ… Correct Answer: (B) Redefining a superclass method in a subclass with the same method signature

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
148
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
99%
Success Rate