πŸ“Š JAVA
Q. In method overriding, is it mandatory for the method name in the subclass to be the same as the method name in the superclass?
  • (A) It depends on the access modifier
  • (B) It depends on the return type
  • (C) No, it can be different
  • (D) Yes, it must be the same
πŸ’¬ Discuss
βœ… Correct Answer: (D) Yes, it must be the same

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
116
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
98%
Success Rate