Education
Object-Oriented programming (Java) at the Department of Engineering of the University of Rome Tor Vergata (Italy), 2007-2008 a.y..
Some more examples of shallow cloning in Java (download).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A summary example based on the implementation of the metamorphosis in Java.
Look at the comments in the code. You can implement the metamorphosis overriding every method, or not. The proposed exercise refers to the latter way (download).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Using Interfaces (download):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Class Object, Class Enum and Inheritance suggestions (download):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Implementing associations in Java, some examples (download):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some exercise on OOP and Java (download).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Education
Communications
POO class will be held in Classroom 3 (PP2 uniroma2), see the syllabus.
Contents
Object-Oriented programming (Java) at the Department of Engineering of the University of Rome Tor Vergata (Italy), 2008-09 a.y..
NOTE THAT: Last additions are published at the bottom of this page (see)
![]() |
Course syllabus (download). | ||
![]() | Generalities (download) | ||
![]() | Exercises (overloading, overriding, enum, static, final) - March112009 | ||
![]() | Exercises (Associations, ArrayLists, Late Binding, Private Constructor) March262009 | ||
![]() | Some program updates (March312009) | ||
![]() | Exercises (using interfaces and forwarding) - March312009 | ||
![]() | Exercises (Object, equals) - April022009 | ||
![]() | Proposed homework on 100% reuse programming style:
|
![]() |
ANNOUNCEMENT: There will be an additional lecture on Monday, April 06, 2009 - PP2 room no. 5 (as usual) 17:00-18:30. | ||||||||||||||||
![]() |
Theory and examples for programming Monitors in Java. | ||||||||||||||||
![]() | Giuseppe Petraroli has solved (Apr02, 2009) the additional problem with 100% reuse programming style. He correctly used typechecking. Congratulations. | ||||||||||||||||
![]() | Exercises (Graphics, events handling) Apr092009. | ||||||||||||||||
![]() | Additional exercises (events handling) April092009. | ||||||||||||||||
![]() | An interesting link on events handling here. | ||||||||||||||||
![]() | A complete example so far (code). Note that, this code is copyrighted.
| ||||||||||||||||
![]() | Exercises on Cloning Objects (here) | ||||||||||||||||
![]() | A comprehensive example "GestioneSpettacoli" (Text and UML diagram) | ||||||||||||||||
![]() | Code for "GestioneSpettacoli" | ||||||||||||||||
![]() | Next lecture will be held by Dr. Pesce on reflection (April 23) | ||||||||||||||||
![]() | Code for "GestioneSpettacoli" to check out (Is it correct? Why not?) | ||||||||||||||||
![]() | Code for "GestioneSpettacoli" to check out again (Is it correct? Why?) |