1
"Object" techniques
- The general principles of "object" modelling and programming. Abstraction and encapsulation: the interfaces. Various typ
- An introduction to models and to UML notation: static models, dynamic models, cooperation models, and scenarios.
Hands-on work
The UML specification for a case study that will be the basis for the exercises that follow.
2
An initial language approach
- Variables: declaring and classifying.
- Defining fields.
- Methods: defining.
- Expressions.
- Control instructions: conditional, loop, and branch instructions.
- Tables.
- Compilation Units and packages: controlling the visibility of classes, import mechanisms.
Hands-on work
A series of simple exercises allowing familiarisation with the development environment and the realisation of a simple programme. Using packages.
3
Defining and instancing classes
- Classes and objects.
- Fields, methods.
- Constructors.
- Self-reference.
- Static fields and methods.
- Aspects of methodology: designing classes.
Hands-on work
Programming the case study.
4
Inheritance
- The different types of inheritance: extension and implementation.
- Interfaces and the implementation of interfaces. Polymorphism and its utilisation.
- Extension. Defining derived classes, constructors, and references. Aspects of methodology. Constructing hierarchies of c
- Simultaneous use of implementation and extension. Abstract classes. Aspects of methodology: Regrouping constants, specif
Hands-on work
Designing and constructing a hierarchy of classes and interfaces.Implementing polymorphism and genericity in the case study.
5
Exceptions
- The try blocks, generating exceptions.
- The catch selection algorithm ().
- Aspects of methodology: constructing an exception hierarchy, using exceptions.
Hands-on work
Introducing exceptions into the case study.
6
Presentation of some standard classes and libraries
7
New Java Tiger features
- The new loop instruction.
- Enumerated types, autoboxing.
- Methods with a variable number of arguments.
- Static imports.
- Generic types.
8
Conclusion
- The first assessments on the language.
- The latest trends.
- Bibliography items.