If the Function has same parameter but different return type (int and float), Is it a overloading?

 Posted by Radhikalingam on 4/14/2011 | Category: OOPS Interview questions | Views: 23971 | Points: 40
Select from following answers:
  1. Yes
  2. No
  3. None
  4. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Shoeb2222 on: 6/22/2011 | Points: 10
Function overloading is done only based on number of parameters, types of parameter, and order of parameter, return type is not the criteria for function overloading.
Posted by: Kpkpavan on: 8/22/2011 | Points: 10
Yes
we can do overloading,

Login to post response

More Interview Questions by Radhikalingam