Corso Vittorio Emanuele II, 39 - Roma 0669207671

Ingegneria Informatica/Information and communication technologies engineering (with Helwan University) (Academic Year 2010/2011)

Object Oriented Programming


CFU: 5
Content language:
Course description
The course illustrates the main topics of Object Oriented Programming by using the Java language. Advanced topics as multithreading will be connsidered. UML language will be used as a tool for design.
Prerequisites
Programming basics in any language.
Objectives
The student will be able to develop programs following the Object Oriented Paradigm concepts. Advanced topics as multithreading in Java will be considered as well. UML is used to help the design phase.
Program
1. Intrduction to the course, the Java toolchain, writing the first program
2. Structured programming in Java, simple types, local variables, control statements
3. Object and classes– Object oriented programming rationale, attributes and methods, constructors
4. Object and classes– managing object lifecylce, reference counting, and garbage collection
5. UML
6. Using existing classes – String, StringBuilder, arrays, …
7. Inheritance and polymorphism
8. The Object class, testing for equality, converting objects to strings
9. Interfaces and implementations
10. Managing errors and exceptions
11. File and file system access
12. Text file Input and Output – Reader, Writer, PrintWriter, Scanner
13. Binary file Input and Output – InputStream, OutputStream, DataIS, ByteArrayIS, …
14. Data collections – List, Set, MultiSet
15. Data collections – TreeMap, HashMap, Multimap
16. Graphical User Interfaces
17. Widgets and containers
18. Getting input from the user: the Command pattern, dialog boxes
19. The Observer pattern
20. Screen drawing, painting images
21. The Model View Controller pattern
22. Concurrent programming – Introduction to threads
23. Synchronization and notification
24. Higher level synchronization constructs (readers&writers lock, barriers, concurrent queues)
25. Thread pools
Book
Kathy Sierra, Bert Bates, Head First Java, 2nd Edition, O'Reilly Media, ISBN-10: 0596009208, ISBN-13: 978-0596009205 Cay S. Horstmann, Big Java, 4th Edition for Java 7 and 8, ISBN : 978-0-470-55309-1
Exercises
Exercises are provided or near every lesson.
Professor/Tutor responsible for teaching
Massimo Poncino
List of lessons
    •  Lesson n. 1: Introduction  Go to this lesson
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
    •  Lesson n. 17: 2D Graphics  Go to this lesson
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati
Giovanni Malnati