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 / 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 |
What is DeadlyDiamondDeathProblem ?
what do you mean by static member variable?
write a program to find 2^n+1 ?
Can private class be inherited?
who is the founder of c++?
When is a memory allocated to a class?
How to overload new operator in c++
Why is destructor used?
What do you mean by inheritance?
Which is not an object oriented programming language?
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
Why do we use oop?