LibreResearch Logo

on Empirical Software Engineering - Forum

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)

bullet

Course syllabus (download).

bullet

Generalities (download)

bullet

Exercises (overloading, overriding, enum, static, final) - March112009

bullet

Exercises (Associations, ArrayLists, Late Binding, Private Constructor) March262009

bullet

Some program updates (March312009)

bullet

Exercises (using interfaces and forwarding) - March312009

bullet

Exercises (Object, equals) - April022009

bullet

Proposed homework on 100% reuse programming style:

bullet

CONGRATULATIONS TO:

  1. Fabrizio Nuccilli who solved the problem on Apr02-2009

Other significant effort has been spent by:

  1. Patrizio Adornato

  2. Paolo Tagliaferri

  3. Gabriele Amicizia

  4. Giuseppe Petraroli

 

bullet

ANNOUNCEMENT: There will be an additional lecture on Monday, April 06, 2009 - PP2 room no. 5 (as usual) 17:00-18:30.

bullet

Theory and examples for programming Monitors in Java.

bullet

Giuseppe Petraroli has solved (Apr02, 2009) the additional problem with 100% reuse programming style. He correctly used typechecking. Congratulations.

bullet

Exercises (Graphics, events handling) Apr092009.

bullet

Additional exercises (events handling) April092009.

bullet

An interesting link on events handling here.

bullet

A complete example so far (code). Note that, this code is copyrighted.

bullet

Original MVC

bullet

Exceptions

bullet

Graphics

bullet

Events

bullet

100%-Model-code reuse

bullet

Effective late binding

bullet

Polymorphism

bullet

More...

bullet

Exercises on Cloning Objects (here)

bullet

A comprehensive example "GestioneSpettacoli" (Text and UML diagram)

bullet

Code for  "GestioneSpettacoli"

bullet

Next lecture will be held by Dr. Pesce on reflection (April 23)

bullet

Code for "GestioneSpettacoli" to check out (Is it correct? Why not?)

bullet

Code for "GestioneSpettacoli" to check out again (Is it correct? Why?)

bottom