Package Bridge

Examples of Bridge.Shape


  private static void bridgeDemo() {
   
    System.out.println("BRIDGE DEMO");
    System.out.println();
   
    Shape redCircle = new Circle(150,150, 15, new RedCircle());
    Shape blueCircle = new Circle(150, 150, 15, new BlueCircle());
   
    //Draw the circles
    redCircle.draw();
    blueCircle.draw();
    System.out.println();
   
 
View Full Code Here

TOP

Related Classes of Bridge.Shape

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.