Answer Posted / pawan kumar
Virtual methods have an implementation and provide the derived classes with the option of overriding it. Abstract methods do not provide an implementation and force the derived classes to override the method. So, abstract methods have no actual code in them, and subclasses HAVE TO override the method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is difference between class template and template class?
What are classes oop?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What are the two different types of polymorphism?
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?
What is encapsulation in simple terms?
Can abstract class have normal methods?
What is the advantage of oop over procedural language?
What is the highest level of cohesion?
What are two types of polymorphism?
What is difference between oop and pop?
How many human genes are polymorphic?
Is oop better than procedural?
How do you achieve runtime polymorphism?
When not to use object oriented programming?