What is Virtual Keyword?

Answer Posted / giri

Virtual keywork is important functionality in C++. We used
virtual class/ function to access function run time.
Virtual function is override the same function in derived
classs and can access through run time using Upcasting.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create object of interface?

805


What is oops and its features?

812


What do you mean by Encapsulation?

796


What are the 4 main oop principles?

926


What are benefits of oop?

851


What is static in oop?

811


What is variable example?

775


What is ambiguity in inheritance?

821


What is multilevel inheritance in oop?

750


officer say me - i am offered to a smoking , then what can you say

1827


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.

931


Can main method override?

806


write a C++ program for booking using constructor and destructor.

2243


What is the example of polymorphism?

730


What is pure oop?

822