im having some trouble figuring out how i should approach this task. I would like to create an option to create an account and then have a login section. I am trying to figure out how to pass the information to the login class as i would like to be able to login without creating a new account every time. im not sure if this current code would allow for multiple accounts at the same time. I am open to suggestions if so on how to do that, but im fine with one account.
Here is my code so far:

**CreateAccount class**

```
import java.util.Scanner;
public class CreateAccount{
    public static void main(){
       CreateAccount obj1 = new CreateAccount();
       obj1.accountNumberPin();
    }
    public void accountNumberPin(){
       System.out.println("create a six digit account number: ");
       Scanner input = new Scanner(System.in);
       int accNum = input.nextInt();    
       System.out.println("create four digit pin: ");
       Scanner input2 = new Scanner(System.in);
       int accPin = input2.nextInt();
    }
    public int getAccNum(){
        return accNum;
    }
    public int getAccPin(){
        return accPin;
    }
}

```

**Login Class**

```
import java.util.Scanner;
public class Login{
    public void login(){
        CreateAccount test= new CreateAccount();
        int theaccNum = test.getAccNum();
        int theaccPin = test.getAccPin();
        System.out.println("Enter account number: ");
        Scanner input1 = new Scanner(System.in);
        int accNumberInput= input1.nextInt();
        System.out.println("Enter account pin: ");
        Scanner input2= new Scanner(System.in);
        int accPinInput = input2.nextInt();
        if(accNumberInput==theaccNum && accPinInput == theaccPin){
           System.out.print("1 2 1 2 this is just a test");
        }               
    }
}

```

PS, i know there is an issue currently with the get methods