Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Introduction To Database And Knowledge Base Systems

Authors: S Krishna

1st Edition

9810206208, 978-9810206208

More Books

Students also viewed these Databases questions