Question
Someone help me with this assignment, thank you so much. For this Discussion, return to the Week 3 Discussion class you selected (e.g., BankCustomer, BankEmployee,
Someone help me with this assignment, thank you so much.
For this Discussion, return to the Week 3 Discussion class you selected (e.g., BankCustomer, BankEmployee, or BankAtmMachine) and the methods and properties you specified in your Week 3 Discussion response. Using any of these methods, or a new method of your choosing that fits the Week 3 Discussion class you selected, write Java code (not a pseudocode) that implements that method and includes the following:
A method accepts at least two parameters that are passed into the method, including one that is a numeric parameter
A method with at least one numeric value that will be returned by the method
A variable that is legally declared twice (with the same name both times) within the method
Following the instructions above, add the method created to a simple Java test application with the main method, and call the created method from that main method to show that your methods code works. Compile the test application to make sure that there are no syntax errors in the method you have created.
Post an initial response with the following:
The Java code of your test application
A screenshot of a successful run of the test application
Explain the function of each parameter and variable you included in your selected method.
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