description - Martine Ceberio

oatmealbrothersSoftware and s/w Development

Nov 18, 2013 (3 years and 11 months ago)

65 views

CS3360: Design and Implementation of Programming Languages

Programming project

#1

Due: February 21
st

at the start of the lecture session

Note
s
:

1)
This project is to be done individually.

2) You will receive credit for this assignment only if you turn it
in on time and you arrange to meet with
the TA (Aditi Barua,
abarua@miners.utep.edu
) within a week after the deadline of the project so that
she can assess your work with you.

Goal of the project:

Understand th
e features of object
-
oriented programming languages (in this case,
Java); be able to put them to practice and reflect on their use.

To be done:

1)
Implement an inventory system:



T
hat has at least the following functionalities:

o

Allows to inventory items of
different kinds (you pick your topic: cars, books, furniture,
food, etc.)

o

Allows to access information about the inventory (number of items in given category for
instance)

o

Allows to update the inventory (adding / removing items, adding new categories


sup
pose your car dealership company now decides to sell bikes too)



That exhibits the following OOP features:

o

Inheritance

o

Polymorphism

o

Overridden methods

o

Overloading



That has:

o

At least one abstract class

2) In a supporting document:



Describe what you program d
oes and how to use it;



List the class variables, instance variables, class methods, instance methods;



Justify the inheritance hierarchy you designed, the need for overriding methods, the choice of
your abstract class(es).