In OverLoading concept,Why they are not consider return
value and why they are consider only parameters in method?
For ex: public int Add(int a,int b){...}
public String Add(int a,int b){...}
Answer Posted / brunda r
Because, if at all the return value is same then compiler
should identify the functions by their parameters.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is polymorphism in oops with example?
Write a c++ program to display pass and fail for three student using static member function
What is an interface in oop?
What is the diamond problem in inheritance?
What do you mean by overloading?
What is the problem with multiple inheritance?
2. Give the different notations for the class.\
Explain virtual inheritance?
What is the difference between procedural programming and oops?
how to get the oracle certification? send me the answer
What is polymorphism oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What are functions in oop?
What is solid in oops?
What does I oop mean?