Java.M.A101
Java.M.A101
T ra in in g As s ig nmen ts
Version 1.1
Hanoi, 06/2019
Lab Guides Data Structure & Algorithm Issue/Revision: x/y
RECORD OF CHANGES
Contents
Day 1. Assignment 1: Basics OOP ..................................................................................................4
Objective:.....................................................................................................................................4
Assignment Specifications: ..........................................................................................................4
Problem Descriptions: ..................................................................................................................4
Guidelines:...................................................................................................................................4
CODE: JAVA.M.A101
TYPE: SHORT
LOC: 70
DURATION: 30 MINUTES
Assignment Specifications:
Create class SavingsAccount, your class must have the following features:
Instance variables:
» annualInterestRate to store the annual interest rate for all account holders.
Then set the annualInterestRate to 5%, calculate the next month’s interest and print the new balances for both
savers.
Problem Descriptions:
» Write a java console program to resolve this assignment
Guidelines:
» Create a project named Java.M.A101, create package fa.training.entities that contains
SavingsAccount class.