Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 Get familiar with Object-Oriented programming. Use Javadoc to generate API documentation in HTML format Programming/Documentation Style Requirements: using comments to make code or segments

image text in transcribed

image text in transcribed

4 Get familiar with Object-Oriented programming. Use Javadoc to generate API documentation in HTML format Programming/Documentation Style Requirements: using "comments" to make code or segments of code easier to understand for the readers of your code 1. Choose meaningful/suggestive variable and function names. 2. Indent lines properly as illustrated in the below example. 3. A binary operator is preceded and followed by a space. 4. A left parenthesis is followed by a space and a right parenthesis is preceded 5. Use Javadoc comments including tags @author, @since param and @ 6. Separate different groups (e.g, functions and functions prototypes) with a 7. You must hand in the sources code and the output on separate pages by a space. return (No points if you did not use Javadoc comments). blank line. Remember that you cannot earn more than 50% of the credits without handing in the correct output! Do not use a word processor to fake an output, which will results in "negative" points. Submission: The following things should be submitted on Blackboard before due day: Project1 Protected View Saved to this PC tDraw DesignLayout ReferencesMailings Review. View Help Tell me what you want to do reful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable Editing ABDUS SALAM Design a class named Account that contains: A private int data field named id for the account (default 0). A private double data field named balance for the account (default 0). A private double data field named annuallnterestRate for the account's current interest rate (default 0). .A private LocalDate data field named dateCreated that stores the date when the account is created. .A no-arg constructor that creates a default account . A constructor that creates an account with the specified id and initial balance The accessor and mutator methods for id, balance and annualinterestRate. . The accessor for dateCreated A method called withdraw that withdraws a specified amount from the account .A method called deposit that deposits a specified amount from the account .A method called getMonthlyinterestRate() that return the monthly interest rate in percentage. (which is annualilnterestRate/12) method called getMonthlyinterest() that return the monthly interest. (which is Monthly Interest Rate" balance) A Implement the class in UNIX system. Write a test program that creates an Account object with an account ID of 1122, a balance of $20,000 and an annual interest rate of 4.5%. Use the withdraw method of withdraw $2,500, use deposit method to deposit $3,000, and print the balance, the monthly interest and the date when this account was created. 649 PM to search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

23. Alternatives

Answered: 1 week ago