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 |
Have you ever interfaced with a database?
What is the purpose of enum?
1. Define a class.
What is inheritance and how many types of inheritance?
what is an instance of a class
What do you mean by inline function?
Get me an image implementation program.
Why do we need polymorphism in c#?
What is abstract class in oops?
What does the keyword "static" mean?
What is the expansion of OOPS?
Can we create object of class with private constructor?