Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

just need outline no need to type all code. very simple just making classes in j

ID: 3742517 • Letter: J

Question

just need outline no need to type all code. very simple just making classes in java and tying them together should not take more than 15 minutes.

file:///Users/adityanachiappan/Downloads/What%20does.pdf

Customer Company - customerlD: int name: String - address String taxID: int + addAll (int num) -static prevID: int previDIncrement + getCustomeriD: int + getName: String + getAddress: String + getTaxID int + setCustomerlD (int num) +setName (String name) + setAddress (String address) + setTaxID (int num) Person Bank +resetBalance + customerList: ArrayList + accountList: ArrayList

Explanation / Answer

As you asked for the outline for the above the uml diagram, check the code which i wrote. If you need any changes or queries just comment below and i am happy to help you. :)

Account.java

public class Account{

private int accountID, customerID;

private double balance;

private static int prevID;

private void prevIDIncrement(){

prevID++;

}

public void deposit(double num) {

balance += num;

}

public void withdraw(double num){

balance -= num;

}

public void correction(double num){

balance -= num;

}

}

Company.java

public class Company extends Customer{

public void addAll(int num) {

}

}

Person.java

public class Person extends Customer{

public void resetBalance() {

}

}

Savings.java

public class Savings extends Account{

private float interest;

public void modifyInterest(){

}

public void withdraw(double num) {

}

}

Checking.java

public class Checking {

private int checkNumber;

private static int initialCheck;

public void nextCheck() {

}

}

Customer.java

public class Customer{

private int customerID, taxID;

private String name, address;

private static int prevID;

public int getCustomerID() {

return customerID;

}

private void prevIDIncrement(){

prevID++;

}

public void setCustomerID(int customerID) {

this.customerID = customerID;

}

public int getTaxID() {

return taxID;

}

public void setTaxID(int taxID) {

this.taxID = taxID;

}

public String getName() {

return name;

}

public void setName(String name) {

this.name = name;

}

public String getAddress() {

return address;

}

public void setAddress(String address) {

this.address = address;

}

public static int getPrevID() {

return prevID;

}

public static void setPrevID(int prevID) {

Customer.prevID = prevID;

}

}

Bank.java

import java.util.ArrayList;

public class Bank {

public void addCustomer() {

}

public void addAccount() {

}

public static void main(String[] args) {

ArrayList<Customer> customerList = new ArrayList<Customer>();

ArrayList<Account> accountList = new ArrayList<Account>();

}

}

**Comment for any queries