Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Develop a Java class called Account as follows: Create the public attributes accountNumber (such as ACC01) and balance (such as 2500.5). [4 marks] create the
Develop a Java class called Account as follows:
Create the public attributes accountNumber (such as ACC01) and balance (such as 2500.5). [4 marks]
create the the default constructor [3 marks]
create a method called calculateInterest that returns the interest calculated as 2% of the balance [ 3 marks]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started