:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Programming Languages >> C++ >> OOPS


 STL interview questions  STL Interview Questions (90)
 OOPS interview questions  OOPS Interview Questions (554)
 C++ General interview questions  C++ General Interview Questions (458)
What is virtual Function.
 Question Submitted By :: Deepankarit
I also faced this Question!!     Rank Answer Posted By  
  Re: What is virtual Function.
# 1
Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.
Is This Answer Correct ?    5 Yes 0 No

Other OOPS Interview Questions
  Question Asked @ Answers
why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??   1
In multilevel inheritance constructors will be executed from the .... class to ... class TCS 2
How Do you Code Composition and Aggregation in C++ ? IBM 3
What is operator overloading? Give Example CTS 11
create a c++ program that will accepts 9 inputs using 3 by 3 array.   1
Program to check whether a word is in all capital letters   1
what is code for call by value and call by reference?   1
What is a friend function & its advantage? MIT 1
what is oppes   2
what is the main difference between sizeof() operator in c and c++   3
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)   4
What are the advantages of inheritance?   25
For more OOPS Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::