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
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
what is difference between class template and template class?    0  28
WAP to generate 2n+1 lines of the following pattern on the computer screen:    1  60
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.    0  30
What is this interview room ? Is it a class or an object. cybage   2  121
The type of variable a pointer points to must be the part of pointer's definition so that: infosys   1  80
OOP'S advantages of inheritance include: infosys   1  117
How to create a comment page in C #??    2  89
what is difference between thread and programme. ncc   0  59
can you give the dynamic polymorphism types? wipro   2  242
what is the new version of c++ ignou   1  196
what is the new version of oops ignou   0  122
write a C++ program for booking using constructor and destructor. hal   0  123
which is best institute to learn c,c++ in ameerpet hyderabad    0  142
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    0  181
c++ program to swap the objects of two different classes    0  168
E-Mail New Answers        Answer Selected Questions        Post New oops Questions
  Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
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? 157
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required) 2096
Write a c++ program to display pass and fail for three student using static member function 545
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()? 635
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C. 1196
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 198
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS? 246
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai. 153
can inline function declare in private part of class? 470
write a program to find 2 power of a 5digit number with out using big int and exponent ? 304
c++ program to swap the objects of two different classes 168
How Do you Code Composition and Aggregation in C++ ? 14525
Why is it so that we can have virtual constructors but we cannot have virtual destructors? 813
Will I be able to get a picture in D drive to the c++ program? If so, help me out? 192
i got a backdoor offer in process global,Bangalore..Can i work with it? 549
E-Mail New Answers        Answer Selected Questions