CP2003 - Principles of Programming Languages
Page 1 of 51
Going OO
Back
Index
Next
Classes & Objects
examples seen so far were not really OO and not typical Java style
in particular, no inheritance or polymorphism was used
remember in a "First Taste of Object Oriented Programming" ...
... real world is modelled via classes
class encapsulates an abstract concept
... class
LoanSimulator
that represented a loan simulator
Marc Gysin, James Cook University.
Back
Index
Next