// User class to demonstrate the Stock class public class Prog9_2 { public static void main(String[] args) { Stock s1 = new Stock("Amazon", "AMZ", 31.43); Stock s2 = new Stock("GoNorse", "GNR"); Stock s3 = new Stock(); System.out.println(s1 + "\n" + s2 + "\n" + s3); s1.endOfDay(32.12); s2.endOfDay(5); s2.endOfDay(6); System.out.println("Percent change for " + s2.getName() + " is " + s2.getChangePercent()); s3.setName("Zappa Family Trust"); s3.setSymbol("ZFT"); System.out.println(s1 + "\n" + s2 + "\n" + s3); } }