Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is operator overloading? Give Example

Answer Posted / palsaniya sadikhasan, meta.

Operator overloading is an operator that perform different
task based on given arguments.
e.g. suppose '+' is an operator is used to add two number
and if we use '+' with two strings then operator '+' can
concate two string is known as operator overloading.

or

operator overloading means one operator can perform multiple
operation based on given arguments.

Is This Answer Correct ?    39 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a mixin and inheritance?

983


How can you overcome the diamond problem in inheritance?

1176


What is difference between inheritance and polymorphism?

1020


What are the 4 pillars of oop?

1138


What is basic concept of oop?

1161


What is pure oop?

1093


Why is polymorphism important in oop?

1071


when to use 'mutable' keyword and when to use 'const cast' in c++

2155


what are the different types of qualifier in java?

2263


Advantage and disadvantage of routing in telecom sector

1301


what type of question are asked in thoughtworks pair programming round ?

2206


Why interface is used?

1012


What are properties in oop?

1078


What are the 3 pillars of oop?

1182


Why is polymorphism used?

1035