Answered step by step
Verified Expert Solution
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.
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
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