Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

(true/false) The operator+ must have arguments that are the same class as the object the method is called on.

OpenStudy (anonymous):

What language?

OpenStudy (anonymous):

For C++ that's false as the + operator can be overloaded to deal with different classes.

OpenStudy (anonymous):

this is not really a good example...but think about adding a float and an int 1.0 + 1 the compiler doesn't get angry at you. so ya false

OpenStudy (shadowfiend):

Don't forget to give people a medal when they help you!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!