What is Virtual Keyword?

Answer Posted / deepak kumar

using virtual keyword we can change the defination of base
class method via overriding them in derived class.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4455


Why is there no multiple inheritance?

748


What is inheritance write a program to show use of inheritance?

842


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1722


any one please tell me the purpose of operator overloading

2145


What is oops in programming?

737


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1591


What are classes oop?

775


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2129


Can we create object of abstract class?

784


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.

923


Why is object oriented programming so hard?

797


Why oops is important?

770


What is use of overloading?

826


What is the difference between procedural programming and oops?

750