πŸ“Š JAVA
Q. What is method hiding in Java?
  • (A) Defining a new method with the same name in a subclass
  • (B) Making a method private in a subclass
  • (C) Redefining a method with a different return type
  • (D) Defining a method with the same name in the superclass
πŸ’¬ Discuss
βœ… Correct Answer: (A) Defining a new method with the same name in a subclass

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
216
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ram Avtar Sharma
Publisher
πŸ“ˆ
88%
Success Rate