Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!