Reference no: EM132397208
Module Code - QAC020C152A
Module Title - Object Oriented Programming
Programme Title - Computing Technologies Extended Degree
List of Contents -
1. Intro application and design.
2. Print-screens with tests.
3. Code Archive .Rar file/Zip.
1. Intro application and design
Aplicable in Vending Machines
Simple Java design in Netbeans
Net Beans is an open-source project, with a very big base of users,a community in growing with 100 parteners in all the world. Today exists two products.
Net Beans IDE is a environment of development, a tool for programmers for writing, compilation, testing, troubleshooting, design and installing programs. It is writing into JAVA but he can accept any language of programming.
There is also available the Netbeans platform; a modular and extensible base, used like connector for software for the creation of strong desktop application. Both of them are open-source.
The Netbeans makes all the tools from java more easily accessible.
I've named my program "Snack & Drinking Machine"
We've been asked to implement in this program five products with five different prices in five quantities for each.
In this JAVA application I used five classes: Products, ProductMain
In the "Products" class i put the all the quantity for the products to check the prices and the number of products available in the vending machine.
After that i put the "ProductMain" so the machine can mutiply the price with the quantity.
The "Products" class is printing the name of the products, the price and the quantity.
The " Product Main " is checking for the machine to have enough products to meet customer's requirements, if she can accept the type of the coin that the customer insert and if the machine has to give rest, the availability of the coin that machine has inside.
The second ArrayList called coins accepted and change show us the amount of the coins accepted by the machine and the quantity of the coins available for each of them.
Attachment:- Object Oriented Programming Assignment File.rar