Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Topic :: Object





Object Interview Questions
Questions Answers Views Company eMail

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

2257

what are objects in data warehouse?

Mind Tree,

2 8423

what does create object actually do when you call it in vbscript?

Cap Gemini,

1 3515

IF VIEW IS FASTER THAN DERIVED TABLE WHY WE ARE USING DERIVED TABLE IN BUSINESS OBJECTS?

Accenture,

1 7465

what is traffic lighting in business objects?

1 6785

What are your long-range career objectives, and what steps have?

3 9616

Intelligent cube is a public object or schema object in microstrategy?

HTC,

3 10912

What are the other ways to create an object with out calling new keyword in java?

HCL,

2 3886

Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)

IBM,

2 6600

HOW CAN WE ENTIRE OBJECTS& IT'S TYPE IN PGM?

1 4848

what is object slice?

HTC, TCS,

2 8315

what is the cost objects in sap?

NTT Data,

1 10149

What is the difference between Object Code and ByteCode? Why do people keep saying that bytecode is like the intermediate of source and object code? Also, which is better/commonly used and why? Please keep in mind that I am a beginner, please keep all terminology fairly simple. Thanks!

1 7166

How can we reset Sequence Generator, when we move objects from Dev Environment to QA env?

Rolta,

2 11505

How to find list of authorization objects which having org fields?

3 17996




Related Topics


Un-Answered Questions { Object }

Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3907


How listener identify that the event came from a particular object?

2012


What happens to the Exception object after handling an exception?

2387


Explain the steps in details to load the server object dynamically?

5120


Define the remote object implementation?

2531


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

2116


Name the class that is used to bind the server object with RMI Registry?

2186


What class is used to create Server side object ?

2269


what are RemoteObjects?

2754


which type of objects reference will be given to client?

2492


What methodology can be followed to store more number of objects in a remote server?

2289


How can a CORBA object, accessed from a EJB?

2289


What are the objects that support variables?

1930


I am looking for the information in detail about archiving object "CATPROACH"?(SAP R/3 Data Archiving) I am thankful sharing the available information with me and expecting prompt reply

2260


How do you convert web objects from 2.x to 3.x?

2071