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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
116
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Kiran Rapria
Publisher
πŸ“ˆ
89%
Success Rate