Multiple choice technology programming languages

  1. Can a method be overloaded based on different return type but same argument type ?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Method overloading requires different parameter lists (different number, types, or order of parameters). Return type alone is insufficient because the compiler wouldn't know which method to call at compile time - the signature must be unique based on parameters, not return type.