previous
|
index
|
next
Class Operations (Methods)
Consider the
Item
class. The things that can be done by an item (whether a Chino or an Oxford shirt):
Allow the user to
input specifics
(such as size and color) for an item
Display
the description and price of an item to the user
Allow the user to
revise specifics
(such as size and color) for an item
Give the
price
of an item
Give the
color
of an item
The methods for a class are listed at the bottom of a class icon:
previous
|
index
|
next