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
Why do we use inheritance?
What are the benefits of interface?
Get me a number puzzle game-program
What is encapsulation and abstraction? How are they implemented in C++?
What is protected in oop?
What is oops and why we use oops?
What is difference between pop and oop?
What do you mean by variable?
What is a class in oop?
Why is polymorphism needed?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
what is different between oops and c++
What is interface? When and where is it used?