Monday, May 4, 2009

Mobile Inventory System?

develop a simple mobile inventory system.


Core Requirements:


 Add mobile to inventory


 Display all mobiles in inventory


 Search mobile based on its model


 Display total number of mobiles in stock


 Exception handling


Some helpful detail:


 Do write your code in making separate classes for mobile and inventory.


 Mobile class should have following members


o Manufacturer


o Model


o Price


o Specifications


 You must write getter and setter function for all data members.


 Also you should write a toString method for mobile class.


 While adding mobile, make sure that no other mobile already has the same model and manufacturer.


 Price should be a positive value.


 Inventory class should be able to hold as many mobile objects (use collections),it should have methods to add mobiles and search mobile based on model.


 While searching when mobile is found its details should be displayed.


No comments:

Post a Comment