:: 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 At :: ibm
 Question Submitted By :: neha khurana
I also faced this Question!!    
Answer Posted By  
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

View All Answers
Please Help Members By Posting Answers For Below Questions
 Question Views   Select
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions) 2129
How to Increment the value of the empid E001 for each and every employee by using the programe? 517
write a program to find 2 power of a 5digit number with out using big int and exponent ? 436
Get me an image implementation program. 409
i got a backdoor offer in process global,Bangalore..Can i work with it? 1064
Write a program to sort the number with different sorts in one program ?? 641
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence? 791
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 442
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer 366
what is difference between thread and programme. 489
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it. 400
Give two or more real cenario of virtual function and vertual object 583
Please send ford technologies placement paper 2 my mail id 474
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception). 525
How Do you Code Composition and Aggregation in C++ ? 17613
E-Mail New Answers        Answer Selected Questions