import java.util.Scanner;
declare the following in your constructor:
source = new Scanner(System.in);
declare the variable:
private Scanner source;
Type: Posts; User: rtumatt
import java.util.Scanner;
declare the following in your constructor:
source = new Scanner(System.in);
declare the variable:
private Scanner source;