/* Author: James Tam Version: March 1, 2021 Learning objective: scope (local, class, parent). Note that good stylistic conventions (e.g. naming of identifiers) were not followed to illustrate the value of following these conventions.W */ public class Driver { public static void main(String [] args) { P p1 = new P(2,4,6); C c1 = new C(3,5,7,9,11); Z z1 = new Z(); System.out.println(p1); System.out.println(c1); p1.m1(); System.out.println(p1); p1.m2(10,20); System.out.println(p1); c1.m1(10,20,30,40,50); System.out.println(c1); System.out.println(z1); } }