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
What are the different types of parameters? Formal Parameters: Parameters, which are described during the definition of subroutine with the FORM statement.

Should validation (did the user enter a real date) occur server-side or client-side? Why? Validation will be completed in both sides i.e., at the server side and client side. S

Q. Process of World Wide Web? When you type a URL in a web browser, this is what happens: 1. If URL contains a domain name, browser first connects to a domain name server an

What is Difference between write back and write through cache? A caching method wherein modifications to data into the cache aren't copied to the cache source till absolutely n

Q. Define Colspan and Rowspan? Now let's see how to work with COLSPAN (Column Span) and ROWSPAN (Row Span). If we want cell containing Ajay in Figure to be extended to the next

Functioning of registers: at any instance of time global registers and only one window of registers is visible and is addressable as if it were only set of registers. So for progra

What are differences between one hot and binary encoding? Common classifications used to explain the state encoding of an FSM is Binary or highly encoded and one hot. A bina

Use tabs to bring some structure into your function body if(nPos > 1) then nRetrun = True else nRetrun = False end if

ARQ is transmitted in the event of: (A)  Loss of signal                          (B) Error in received data (C)  Improve reliability                  (D) During time out

Different search strategies- artificial intelligence: To help us think about the different search strategies, we use two analogies. Firstly, we suppose that the professor keep