What is a scope resolution operator?

Showing Answers 1 - 1 of 1 Answers

samiksc

  • Jan 25th, 2006
 

A scope resolution operator resolves scope ambiguity in cases where a base class and a derived class both define data member or function with the same name.

Most generally a scope resolution operator is required when a data member is redefined by a derived class, or an overriden method of the derived class wants to call the base class version of the same method.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions