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 |
what is SPL in c++.
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
Which language is pure oop?
Why polymorphism is used in oops?
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
What are the features of oop?
Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?
What does sksksk mean in text slang?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
What are callback functions in c++
What is the differances between a abstract calss and interface
What is persistence in oop?