AceTheInterview
Jobs in Pune | Work better in teams | Socialize with friends | Submit Q&A | Tell a friend
Search site for 

Top 100 Interview Questions & Answers in a convenient and easy to read book!

“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”

– Ravi, California

Read more comments...

Interview Questions And Answers RSS Feed

Answers »

  1. Submitted By: Khisar — October 6, 2006
    +1 votes
      + -

    When an operator is overloaded, it takes on an additional meaning relative to a certain class. But it can still retain all of its old meanings.

    Examples:

    1) The operators >> and << may be used for I/O operations because in the <iostream> header, they are overloaded.

    2) In a stack class it is possible to overload the + operattor so that it appends the contents of one stack to the contents of another. But the + operator still retains its original meaning relative to other types of data.

    Also Polymorphism can be achieved in C++ through operator overloading

  2. Submitted By: phil — October 6, 2006
    not yet rated
      + -

    Operator overloading is all about syntax. You can have your class give its own implementation for an operator, so that your class types more closely resemble the built-in types.

    For example, if you have an iterator class, you can overload operator++ to iterate to the next element, rather than have a function named something like “Next”.

  3. Submitted By: Saroj Kanta Behera — October 27, 2006
    +2 votes
      + -

    operater overloading is a Mechanism which is able to manuplate the predefine operater like +,*,-,++etc.with the user define object.

  4. Submitted By: Jim Stevens — November 14, 2006
    not yet rated
      + -

    operator overloading

    Is the term used to describe the definition of a new function that has already been defined earlier, giving it a different parameter list

  5. Submitted By: pan — May 1, 2008
    -1 votes
      + -

    operator overloading is a type of function.which provide a numericale function like
    operator ==(object a ,object b)
    it compaire two object
    operator meaning is not change

    operator are +,++,-,–,=,== etc

  6. Leave an Answer/Comment

    To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
    Click to hear an audio file of the anti-spam word

Our Sponsors
Our Sponsors
Contact Us | FAQ | Sitemap | Terms of Use | Privacy Policy | Tell a Friend

Copyright © 1999-2006 Jeeve Technologies LLC. All rights reserved.