πŸ“Š JAVA
Q. Can a method be both overloaded and overridden in the same class in Java?
  • (A) Yes, as long as the method names are the same
  • (B) Yes, as long as the access modifiers are the same
  • (C) No, it is not allowed
  • (D) No, method overloading and overriding are mutually exclusive
πŸ’¬ Discuss
βœ… Correct Answer: (A) Yes, as long as the method names are the same

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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