// // A driver for testing Student class // Goal: prompt a msg, and let user input ... // import java.util.Scanner; class StudentDemo { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Input name: "); String name = input.nextLine(); System.out.print("Input score: "); int score = input.nextInt(); Student oneStu = new Student(); oneStu.set(name, score); oneStu.writeOutput(); System.out.println("\n\n\n\n\n"); // debug } }