// Page 104 - 105 // test the Student class import java.util.Scanner; public class StudentVarDemo { public static void main(String[] args) { Scanner input = new Scanner(System.in); Student one = new Student(); // invoke the default constructor one.writeOutput(); // invoke the method System.out.println(); System.out.print("Full Name? "); String name = input.nextLine(); System.out.print("Test score? "); int test = input.nextInt(); one.set(name, test); // invoke the method one.writeOutput(); System.out.println(); // Ex: decl. me with info of mine? Student me = new Student("Jon W.", 99); // invoke the general constructor //? use var to set the name and test? me.set("Jon Weslay", 77); // change the info me.writeOutput(); } }