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
 
i got a backdoor offer in process global,Bangalore..Can i work with it? 1172
Write a c++ program to display pass and fail for three student using static member function 1341
hi all..i want to know oops concepts clearly can any1 explain?? 615
How to use CMutex, CSemaphore in VC++ MFC 2144
what are the different types of qualifier in java? 640
How to Increment the value of the empid E001 for each and every employee by using the programe? 610
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions) 2288
What is byval and byref? What are differences between them? 486
Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0 578
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line. 615
can inline function declare in private part of class? 1857
class type to basic type conversion 732
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). 596
i am getting an of the type can not convert int to int *. to overcome this problem what we should do? 556
what's the basic's in dot net 572
E-Mail New Answers        Answer Selected Questions