CS 2133 HW #2

CS 2133 HW #2 - } // HW #2, Problem #3 files: Employee ,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//Matt Hergenrether //CS 2133 //February 25, 2009 // HW #2, Problem #1 public abstract class DiscountPolicy { //Returns the discount for the purchase of a given number of a single item. abstract void computeDiscount(int count, double itemCost); } //HW #2, Problem #2 public interface DiscountPolicy { //Returns the discount for the purchase of a given number of a single item. public computeDiscount(int count, double itemCost);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } // HW #2, Problem #3 files: Employee , Person, EmployeeDriver Description: EmployeeDriver runs and calls methods out of Employee which extends Person. // HW #2, Problem #4 files: Multidimarrays, Arraysdriver Description: Arraysdriver runs and creates two arrays and then calls the method mult() out of the class Multidimarrays....
View Full Document

Ask a homework question - tutors are online