πŸ“Š JAVA
Q. In method overloading, can methods have the same name and the same return type if their parameter types are different?
  • (A) Yes, as long as the methods are final
  • (B) Yes, as long as the methods are static
  • (C) No, it is not allowed
  • (D) Yes, it is allowed
πŸ’¬ Discuss
βœ… Correct Answer: (D) Yes, it is allowed

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
153
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
91%
Success Rate