Advanced Java Programming Features (3 cr)
Code: TX00FI95-3001
General information
Enrollment
02.05.2023 - 07.08.2023
Timing
07.08.2023 - 11.08.2023
Number of ECTS credits allocated
3 op
Mode of delivery
Contact teaching
Unit
School of ICT
Campus
Leiritie 1
Teaching languages
- English
Seats
0 - 30
Degree programmes
- Degree Programme in Information Technology
Teachers
- Reinhard Schiedermeier
Groups
-
ICTSUMMERICT Summer School
Objective
The Java programming language steadily integrates new language features, to adjust with evolving requirements. These features render Java a more expressive, more effective, and safer language.
This course covers a selection of advanced features that are commonly underused. Students learn how to make best use of them, to solve real-world problems, and learn about these features' respective advantages and limitations.
Content
Topics discussed are:
* Records, immutability and mutability, delegation and inheritance.
* Nested types, their application for factories and object pooling;
Inner classes for tightly coupled objects;
Local and anonymous types for one-shot use.
* Functional interfaces, Lambdas and method references.
* Streams and their application of lambdas;
Streams as an alternative to loops, and Optional vs null.
* Generic types and methods, Wildcard types and type variances,
the Java compiler's type inference.
* Enhanced Switch statements and Type patterns, deconstruction of records.
Further information
Students need to bring their own laptop.
Participants require a computer with an installation of
* Java JDK (version 19),
* IDE IntelliJ/Idea (community edition)
Both are freely available for Windows, MacOS and Linux.
Simple tests to validate the environment setup are provided prior to course beginning.
Evaluation scale
0-5
Assessment methods and criteria
Each topic includes hands-on programming assignments, at various and selectable levels of difficulty. Successful solutions of exercises correspond to assessment levels.
Prerequisites
Moderate Java programming proficiency is required, as well as an understanding of object oriented key concepts, like classes, inheritance and interfaces.