Answer Posted / pankaj
A scope resolution operator (::), can be used to define the
member functions of a class outside the class.
It shows the scope resolution operator untangling a mess
made by using the same names for different kinds of entities
base class overridden member function using the scope
resolution operator (: :)
Is This Answer Correct ? | 25 Yes | 10 No |
Post New Answer View All Answers
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Why is object oriented programming so hard?
What is the benefit of oop?
What are functions in oop?
What does and I oop mean in text?
What is stream in oop?
What is the difference between a mixin and inheritance?
What are oops methods?
When not to use object oriented programming?
Is oop better than procedural?
What do you mean by Encapsulation?
What is encapsulation and abstraction? How are they implemented in C++?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
How does polymorphism work?