what is virtual function?
Answers were Sorted based on User's Feedback
Answer / ravi
Virtual function is a member function of a class.whose
functionality can be overridden in is derived class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / p.kumarasamy,be(cse)
C++ virtual function is a member function of a class, whose
functionality can be over-ridden in its derived classes. The
whole function body can be replaced with a new set of
implementation in the derived class. The concept of c++
virtual functions is different from C++ Function overloading.
C++ Virtual Function - Properties:
C++ virtual function is,
* A member function of a class
* Declared with virtual keyword
* Usually has a different functionality in the derived class
* A function call is resolved at run-time
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / brunda r
Virtual functions are the functions declared as normal
function call but preceeded by keyword 'virtual'.Its value is
equated to zero and its definition is incomplete or
blank.Virtual functions is dynamic polymorphism.
| Is This Answer Correct ? | 1 Yes | 2 No |
Differences between inline functions and non-inline functions?
what is ltti
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 is polymorphism in oops with example?
what is virtual function?
What are the types of abstraction?
class type to basic type conversion
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }
Why is polymorphism used?
What is a template?
Name an advantage of linked list over array?