what is virtual function?
Answer Posted / shekhar
virtual function is used to prevent from more times
calling.That means if a function is declared as virtual
then its def will be diferent in base class & derived class
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
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.
Why is polymorphism important in oop?
What are the 3 principles of oop?
write knight tour problem which is present in datastructure
How do you explain polymorphism?
What does oop mean in snapchat?
What is the important feature of inheritance?
What does I oop mean?
What is the problem with multiple inheritance?
What is persistence in oop?
What does no cap mean?
What is inheritance and how many types of inheritance?
what are the realtime excercises in C++?
What is object and class in oops?
Advantage and disadvantage of routing in telecom sector