anonymous
2010-04-22 14:13:08 UTC
Diesign a class named Account that contains:
An int data field named balance for the account (default 0)
A double data field named balance (default 0)
A double data field named annualInterestRate that scores the current interest rate (default 0)
A Date data field named dateCreated that stores the date when the account was created.
A no-arg constructor that creates a default account
The accessor and mutator methods for id, balance, and annualInterestRate
The accessor method for dateCreated
A method named getMonthlyInterestRate() that returns the monthly interest rate
A method named withdraw that withdraws a specified amount from the account
A method named deposit that deposits a specified amount to the account.
Draw the UML diagram for the class.
My question is how to draw this UML diagram..i have never worked with them before and i need it for class. Please any help would be much appreciated!