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 new operator in c++
why we call c++ is object oriented lanaguage
What is public, protected, private?
what is the difference between ERROR and EXCEPTION?
What is a friend function & its advantage?
What is interface? When and where is it used?
What is an interface in oop?
inheritence with example
What is destructor example?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),
What is an example of genetic polymorphism?