Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help I'm a beginner programmer and I need help with this java program. Please use the Eclipse IDLE because that's what I'm working on

please help I'm a beginner programmer and I need help with this java program. Please use the Eclipse IDLE because that's what I'm working on and also explain step by step. And follow the instructions that are provided. I've turned in this program 4 times and my professor still doesn't accept it because I can't meet his standards. Please help me.

image text in transcribedimage text in transcribedimage text in transcribed

Chapter 4 Programming Challenge BankCharges class * use constants where appropriate * use Console for I/O. * your class should have a constructor, get/set methods and the methods asked for in the text. * have a separate class that houses your main method. Make sure you are not doing far more than is being asked for in this problem and that you are doing what is asked for in the problem. The following two lines of code in your main() method would suffice. BankCharges bc = new BankCharges(50, 300); // 50 checks written, 300 dollar balance System.out.println(bc.getService Fees(); //should print out 28 (15 low balance fee, 10 dollar account fee and 3 dollar fee for the checks written (50*.06)) Make sure you are not violating the "no stale data" rule of class design from your text. Calculate the fees real time in your getService Fees() method and return them - don't store the result in a field. The only 2 non-final fields you need for this class are the two stated in the problem - the ending account balance and the number of checks written. Java Style At For the Coding Style aspect of your homework, I'm looking at the following. Use of constants. Try not to hard code numbers and strings into your source code. Use finals. WRONG: newValue = oldValue *(1+.08); RIGHT: final double INTEREST_RATE = .08; newValue = oldValue * (1+INTEREST_RATE); Indenting: The code for each block of code (block of code is code inclosed within opening and closing curley braces) should be indented one level in. EXAMPLE if(myNum

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

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions

Question

How to solve maths problems with examples

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago