/* AUTHOR: Sandy Bartlett COURSE: SI 543 PROJECT: OO Programming DUE DATE: Feb. 16, 2001 SUBMISSION DATE: Feb. 11, 2001 LOCATION: EECS - ~bartlett/public_html SUMMARY This application prints information about a grass hut. INPUT none OUTPUT Lines of text on the screen that list the information about a grass hut. CLASS HIERARCHY Object - HutData ASSUMPTIONS none */ class HutData { public static void main(String [] args) { GrassHut hut = new GrassHut(2); System.out.println("Here is information about a grass hut."); System.out.println("The hut is " + hut.getSize() + GrassHut.AREA_UNITS + "."); System.out.println("It is on " + hut.getLandArea() + GrassHut.AREA_UNITS + " of land."); System.out.println("It is made of " + hut.getMainMaterial() + "."); System.out.println("Its color is " + hut.getColor()); System.out.println("It has " + hut.getNumberOfRooms() + " rooms and " + hut.getSmokeHoles() + " smoke holes in the roof."); System.out.println(); System.out.println("YOU CAN OWN THIS HUT FOR ONLY $" + hut.getPrice()); } // main } // HutData