Luca Dan Șerbănați at the baccalaureate, 1961
Luca Dan Șerbănați in the early 1970s
Luca Dan Șerbănați giving his last fifth-year lecture, April 1989

Luca Dan Șerbănați

Emeritus Professor at Politehnica University of Bucharest

Research, teaching, industry and memoirs

RO | EN | IT
Luca Dan Șerbănați in Venice, 1990
Luca Dan Șerbănați in New York, 2005
Luca Dan Șerbănați

Landmarks

  • Institution: POLITEHNICA University of Bucharest
  • Faculty: FILS – Faculty of Engineering in Foreign Languages
  • Year / semester: year II, semester I
  • Official title: Object Oriented Programming
  • Structure: 2 hours lecture + 2 hours laboratory
  • Assessment: exam
  • Credits: 5
  • Prerequisites: the concepts and design recipes introduced in Programming Languages

Place in my teaching activity

This course naturally continued the introduction offered by Programming Languages. If the first course had the role of forming the bases of programming and introducing Java, here the emphasis shifted toward genuinely object-oriented thinking: inheritance, polymorphism, interfaces, reuse, event handling, and the use of standard Java libraries in more complex programs.

At the same time, the course also had a maturing role: the student was no longer called only to write correct programs, but to understand how a larger program is structured, how responsibilities are distributed between classes, and how complexity can be mastered through abstraction and collaboration between objects.

Objective of the course

The syllabus formulates the objective very well: to present advanced concepts of programming in Java and to develop design and programming skills using the Java language and its standard libraries. In addition, the course aimed at forming a deeper understanding of object-oriented programs in terms of responsibility and collaboration.

It was therefore a programming course, but not one reduced to syntax. It aimed to make the transition from writing programs to designing them in the spirit of the object-oriented paradigm.

Structure of the course

1. Review and consolidation of the basics

The first part begins with a summary of the course Programming Languages, then takes up some basic concepts again in an OO context: class definitions, attributes, methods, static members, parameter passing, objects, and instances.

2. Inheritance and polymorphism

A central section is devoted to inheritance, the extends relation, method overriding, static and dynamic binding, polymorphism, class hierarchies, the protected modifier, the class Object, wrappers, and abstract classes.

3. Interfaces and type conversions

The course treats interfaces as a way of describing what classes must do, without imposing how they do it. The notes explicitly discuss the definition of interfaces, sorting via Comparable, conversions between reference types, and the relation between classes, interfaces, and reuse.

4. Inner classes and callbacks

An important chapter is devoted to inner classes, callbacks, and their use in event-based programs. Here one clearly sees the practical orientation of the course: OO notions are directly linked to real Java programming mechanisms.

5. Applets, graphics, and events

The syllabus then includes a sequence characteristic of that Java desktop / web period: applets, web communication, the HTTP protocol, HTML, the applet context, drawing, parameters, then graphical programming with java.awt, containers, components, colours, fonts, images, layout management, and event handling through listeners and adapters.

6. Exception handling and debugging

The course also included error handling, catching exceptions, logging, assertions, and debugging techniques. Here the student was confronted with the idea that program robustness is part of its design, not merely a matter of syntax.

7. Advanced input / output

The second part of the course notes systematically develops java.io: the hierarchy of input and output classes, byte and character streams, console reading, Scanner, PrintWriter, working with files, and filtered streams.

8. Generics and collections

The last major part is devoted to generic programming in Java: generic classes, generic methods, type erasure, wildcards, bounded type parameters, and the limits of generics. The syllabus also speaks of the Collections framework, the Collection and Map hierarchies, sorting, and searching.

Laboratory

The laboratories followed the chapters of the course closely: review of Java, inheritance and polymorphism, abstract classes, interfaces, inner classes, applets, graphical user interfaces, event handling, the Observer pattern, exceptions, file I/O, and introduction to collections.

The syllabus mentions ten short assignments and a few small projects. The didactic emphasis was very sound: concepts had to be exercised through actual programming, and the small projects gave students the opportunity to integrate several chapters into a single application.

Assessment

Assessment was divided between the final exam (40%) and work during the semester (60%): attendance at lectures and labs, two announced tests, and laboratory / homework activity. The final exam consisted of one or two programs to be developed.

Resources