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

What is oops?what is its use in software engineering?

553


What is the problem with multiple inheritance?

578


What is variable example?

591


What are the types of abstraction?

551


what are the realtime excercises in C++?

2331






Can static class have constructor?

580


How do you explain polymorphism?

582


What are the 4 main oop principles?

674


How to hide the base class functionality in Inheritance?

631


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1888


What is solid in oops?

594


2. Give the different notations for the class.\

1582


What is constructor in oop?

578


Why is polymorphism needed?

587


Why is destructor used?

576