Hi, I am a new in java and I really need help in this one. I tried to read it and understand it and put the main methods, but I couldn't. I want the output to say the person first and last name then his account number.
import java.util.Scanner;
public class BankAccount
{
private String customer; // customer's name
private int accountNum; // bank account number
//**************************************************
public void setCustomer()
{
this.customer = customer;
} // end setCustomer
public void setAccountNum()
{
this.accountNum = accountNum;
} // end setAccountNum
//**************************************************
// This method prints a bank account's information.
public void printAccountInfo()
{
System.out.println(
this.customer + "'s account number is " +
this.accountNum + ".");
} // end printAccountInfo
} // end class BankAccount