/** * PA5simple.java * * two classes both with a setP method * * WB, 3/12 */ import meggy.Meggy; class PA5twoCls { public static void main(String[] whatever){ new C1().setP((byte)2,(byte)6); new C2().setP((byte)1,(byte)5,Meggy.Color.ORANGE); } } class C1 { public void setP(byte x, byte y) { Meggy.setPixel(x, y, Meggy.Color.BLUE); } } class C2 { public void setP(byte x, byte y, Meggy.Color c) { Meggy.setPixel(x, y, c); } }