// LANDSCAPE GARDENING QUOTE APPLICATION CLASS // Frans Coenen // University of Liverpool // 18 April 2013 import java.util.*; class QuoteItemApp { // ------------------- FIELDS ------------------------ // ------ None ------ // ------------------ METHODS ------------------------ /** Main method. */ public static void main(String[] args) { // Create an instance of the class QuoteItemType1 and QuoteItemType2 QuoteItemType1 lawn = new QuoteItemType1("lawn",4.0,5.0,15.5,20.0); QuoteItemType2 waterFeature = new QuoteItemType2("water feature",2,150.0,60.0); // Output System.out.println("[1]\n" + lawn); System.out.println("[2]\n" + waterFeature); } }