Object Oriented Programming
Object Oriented Programming
Operations:
Hunt
type of noise
Tiger
Lion
Cheetah
African-golden
14
OOP in Java
The biggest challenge for a new Java programmer is
learning object-oriented programming at the same time
the Java language.
The identification of classes and objects is the hardest
part of object-oriented design.
One simple technique for identifying classes is to write a
description of the problem, list all the nouns (attributes)
that appear in the description, and then choose your
possible classes from the list.
Classification means that objects with the same data
structure (attributes) and behavior (operations) are
grouped into a class.