Java OOP GUIDE / WORK SINGLETABLE CLASS Topics
TASK – SINGLETABLE
CLASS We
will create the SingleTable class which was a part
of the 2021 AP exam (Free Response Question #2). If you want to continue working with this
class, you can look at the CombinedTable class
example. The
SingleTable class represents a table in a
restaurant. Below, you can find the
partial implementation for the class.
WORK
Answer
·
Instance
variables, ·
A
constructor, ·
Instance
method implementations
|