ALLInterview.com :: 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
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
Categories >> Software >> Programming Languages >> C++ >> OOPS
 


 

 
Question what is single inheritance?
 Question Asked In Companies :: IBM,     < I also faced this Question! >
 Question Submitted By :: neha khurana
  Answer Posted By  
 
Answer
Inheritance : The Base Class information passed onto
derived class.

Single Inheritance : The Derived class having only one Base
class is called single Inheritance.

Multiple Inheritance : The Derived class having more than
one base class is called Multiple Inheritance.

Is This Answer Correct ?    32 Yes 1 No


 
  sathish
 
View All Answers
 
 
Please Help Members By Posting Answers For Below Questions
 
 Question Views   Select
 
class type to basic type conversion 671
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required. 3638
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box 796
Give two or more real cenario of virtual function and vertual object 651
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace... 382
What is the renewal class? 891
what type of questions 491
what are the different types of qualifier in java? 587
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions) 2202
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works? 297
What is interface? When and where is it used? 449
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION? 295
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash 473
c++ program to swap the objects of two different classes 474
what is the drawback of classical methods in oops? 1571
E-Mail New Answers        Answer Selected Questions