GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Aztec Systems  >  C Plus Plus

 Print  |  
Question:  

Base class has some virtual method and derived

class has a method with the same name. If we initialize the base class pointer with derived
object,.calling of that virtual method will result in which method being called? 

a. Base method
b. Derived method..



Answer:

B



December 12, 2006 16:38:37 #1
 divya   Member Since: Visitor    Total Comments: N/A 

RE: Base class has some virtual method and derived ...
 
derived class
     

 

Back To Question