Unformatted text preview: deleted object. • highestP that displays the information of the highest priced product and returns that object. Implement Product, Store, and a main class to test your program. Store - Location: String - ArrayProd [ ]: Product + Store (s: String, k: int) + addProduct ( Product pr ): boolean + search (n: String): boolean + deleteP (n: String): Product + highestP( ): Product Product - name: String - quantity: int - price: int + Product (String, int, int) + setters/getters + display ( )...
View Full Document
This note was uploaded on 08/18/2011 for the course COMPUTER S CSC 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.
- Spring '11