what is overloading
Answers were Sorted based on User's Feedback
Answer / rajveer
c++ provide 2types of overloading.
1. Function overloading:- When we create more then 1
function as same name(like Sum)then it's overloading.
this types overloading in perameters are deffrent becouse
compiler is not know which function called. so sum(),sum
(int,int),sum(int float)etc.
2. operatore overloading:- in c++ operatore(+,-,/ etc.)
worked only builtin datatype. but we can use operatore in
user defined data type by operatore overloading.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / laxmi reddy
Function overloading:- When we create more then 1
function as same name(like Sum)then it's overloading.
this types overloading in perameters are deffrent becouse
compiler is not know which function called. so sum(),sum
(int,int),sum(int float)etc.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / gaurav pathak
the function overloading is ablity to make more then one
function of same name.compiler identifies which function is
called by making the comparision of function arguments.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the advantages of inheritance?
26 Answers IBS, TCS,
officer say me - i am offered to a smoking , then what can you say
What is abstraction and encapsulation?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
explain the concepts of oops?
What is polymorphism in oop example?
Which keyword is written to use a variable declared in one class in the other class?
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(); }
What is coupling in oops?
Get me an image implementation program.
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.