Oo modelling, Computer Engineering

We might model such a scenario using three types of object: one for Customers, one for BankAccounts and another for Transactions. In terms of data required, for Customers assume we need a name, an address and a savings account. An array of Customers should be used. For the savings account assume we require an account number, a balance (amount) and an interest rate. For transactions  assume we need an account number the transaction applies to, an amount being transacted and a transaction type (such as Deposit, Withdrawal or Interest ). Details of the transactions are held in a file called "trans.dat". Below is a suggested UML type diagram representing the object types (classes):

928_oo modling.png

Posted Date: 3/11/2013 5:54:56 AM | Location : United States







Related Discussions:- Oo modelling, Assignment Help, Ask Question on Oo modelling, Get Answer, Expert's Help, Oo modelling Discussions

Write discussion on Oo modelling
Your posts are moderated
Related Questions
Q. Define Point-to-point Communication? The simplest form of message is a point to point communication. A message is sent from the transmitting processor to a receiving process


Q. Calculate Print Speed of printers? Speed at which a printer prints is generally an important issue. Though the printer has to take a certain time to print. Printing time ris

In this stage of the project you are required to create a Design document, the Design document must contain the following:  Structure chart Pseudo-code Data Dictionary


What is a linker program? Ans. links the program with other programs required for its execution is called a linker program.

Even while Generalization satisfies Structural, Interface, Behaviour properties. It is mathematically very strong, as it is Antisymmetric and Transitive. Antisymmetric: employe

There is a built-in function function known as cellfun that evaluates a function for each element of a cell array.  Make a cell array, then call the cellfun function, passing the h

What is asynchronous transmission An asynchronous transmission technique used in many interactive terminals employ special bits. With this method each character consists of thr

Q. Show the Decimal equivalent of a binary number? In binary numbers we have two digits 0 and 1 in addition they can also be signified as a string of these two-digits known as