1 package bookExamples.ch06RefDataTypes; 2 3 import bookExamples.ch18Swing.awt.GraphicsObject; 4 5 class Mammal2 implements GraphicsObject { 6 private boolean hasHair = true; 7 private double x = 0; 8 private double y = 0; 9 10 public void move(double _x, double _y) { 11 x = _x; 12 y = _y; 13 } 14 15 public void draw() { 16 }; // does nothing right now. 17 } 18