Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, we will begin to create a class that we will be using multiple times through the semester. Start by creating a class

In this assignment, we will begin to create a class that we will be using multiple times through the semester.

Start by creating a class named YourLastName_BankAccount. Using this sample code

public class myClass { private int intValue; public void setIntValue (int intValue) { this.intValue= intValue; } public int getIntValue () { return intValue; } } 

create a series of variables for AccountNumber, AccountType, AccountHolder, and AccountBalance. Then create a series of methods to Create the account, and then to Inquire account status and make Deposits and Withdrawals.

Using this sample code, test the various methods by creating several Accounts, making some deposits and withdrawals, inquire the balance of each account.

public class Test { public static void main (String []args) { myClass intNumber = new myClass(); intNumber.setIntValue(30); System.out.println("the int value is " + intNumber.getIntValue()); } } 

This is the assignment given and I keep running into error cannot find symobl for method not found. Any help you could give would be appreciated. Thank you.

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

1. What are your creative strengths?

Answered: 1 week ago

Question

What metaphors might describe how we work together?

Answered: 1 week ago