diff between Virtual mathod and abstract method?
Answer / 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 |
What are the types of abstraction?
difference between overloading and overridding
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,
WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP
write a c++ code of diagonal matrix.
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
what isthe difference between c structure and c++ class
what i oops concept, how many languages supports oops concept?
What is the difference between an object and a class?
What are the advantages of polymorphism?
What is abstraction in oops?
What is abstraction in oops with example?