Professional Documents
Culture Documents
Product
-name: String
-stockLevel: int
-price: double
(4 marks)
b) Develop a Graphical User Interface for this Product class, to allow products
to be re-stocked, sold and re-priced. Your student number should be visible in
the title bar of this GUI.
You will get marks for the functionality of the application as well as the quality
of the interface. The better the functionality provided (such as error checking)
and the more features in your GUI (such as menu bars and pop up boxes) the
higher the marks.
(8 marks)
Note: If you cannot develop a GUI you can develop a text based interface but,
while you can still get some marks for functionality, you will receive much
fewer marks for your interface. Your student ID should still be displayed on
your screen.
Extra Challenge
Allow for a many products to be stored in a list (using an array for example).
(4 marks)
FOR THE STUDENT NUMBER ON THE TITLE BAR OF GUI, USE NUMBER 222333
THIS IS AN INDIVIDUAL TASK
You will be asked to upload all the files making up your application to Moodle by
Friday 5th May 2017 (no later than 11.55pm).