Project translated automatically.
Log in
or
register,
to view the original
Create classes of an animal, a spectator, describing objects from the subject area of the Zoo. Each class must contain:
At least two variable members
The function of a member returning the line c
Description of the object
the function of the member in which the completion is carried out
the fields of the object with certain values (meaning must be arguments)
functions )
The arbitrary number of other functions
Members with arbitrary functionality.
Classes must meet the principle of incapsulation. in
The main program is needed
Announcing variables and/or containers
Objects of different classes
Install all objects in the correct state.
Showing information on all objects on the screen
performing a few
functions of different classes.