Can we have a private virtual method ?
Answer Posted / nidhi singh
no, we cann't hav private virtual method as virtual is used
in case of inheritance but private members cannot be
inherited..
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
what is difference between class template and template class?
c++ program to swap the objects of two different classes
What does <> mean pseudocode?
What is inheritance in simple words?
what are the ways in which a constructors can be called?
How to improve object oriented design skills?
What is the example of polymorphism?
What is cohesion in oop?
What is object in oop?
What is class and object in oops?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
How do you achieve runtime polymorphism?
What is inheritance and how many types of inheritance?
What is difference between inheritance and polymorphism?
Can main method override?