what is virtual function?
Answer Posted / m.ahmad
Virtual function means the function which is use in base class
and also use in drive class with same name and same arguments
then we use a keyword virtual with base class.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is cohesion in oop?
What are the benefits of interface?
What is difference between polymorphism and inheritance?
Why do we need oop?
What is polymorphism and why is it important?
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 do we use class in oops?
What is oops and its features?
What is constructor in oop?
Advantage and disadvantage of routing in telecom sector
What is polymorphism explain?
What is encapsulation oop?
#include
Is html an oop?