Logo ČVUT
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2025/2026

Programming in Java

The course is not on the list Without time-table
Code Completion Credits Range Language
BIE-PJV Z,ZK 4 2P+2C English
Course guarantor:
Lecturer:
Tutor:
Supervisor:
Department of Software Engineering
Synopsis:

The course Programming in Java will introduce students to the object oriented programming in Java programming language. Beside of basics of Java language the fundamental APIs will also be presented, especially data structures, files, GUI, networking, databases and concurrent APIs.

Requirements:

Basic programming skills in any imperative programming language (e.g. completed PA1 course). It is recommended to have finished or simultaneously attend PA2 course.

Syllabus of lectures:

1. Introduction, history of Java language, editions and versions, operators and their precedence, first executable code.

2. Keywords, the first program, its execution, concepts of class, attributes, methods, inheritance and encapsulation.

3. Inheritance between classes, abstract classes and interfaces, attribute inheritance, shadowing, overriding, constructors.

4. Polymorphism, exceptions, their categories, creation, propagation in and handling.

5. Arrays, parameterized classes (genericity), collections, sorting, comparison, hashing.

6. Input and output: Finding information about the OS, about the file system, working with files, text and binary streams, serialization.

7. StreamAPI, lambda expressions, functional interfaces.

8. Threads: Multi-threaded applications, thread synchronization, their life cycle, priorities, interrupts, common problems.

9. Networking in Java: Basic concepts, differences between TCP and UDP, classes for network communication, client-server architecture.

10. GUI creation and JavaFX library: its basic parts and classes, working with FXML, responsive design, layout of elements, controls.

11. JavaFX events, animations, transitions and transformations.

12. Database: Relational DB basics, connecting to a DB using Java, classes for executing commands, processing data retrieved from queries, SQL data types vs. Java data types.

13. (if the semester has 13 weeks) News in Java 9 and later.

Syllabus of tutorials:

1. Introduction to the subject, comparison of Java vs C/C++, first executable code.

2. Key concepts, the first program, its execution, concepts of class, attribute, method, inheritance and encapsulation, immutability.

3. Inheritance between classes, abstract classes and interfaces, attribute inheritance, shading, overlays, constructors, arrays.

4. Basics of collections, an overview of their types, implementations and practical use, parameterized classes (genericity).

5. Advanced collections, map and its implementation, hashing.

6. Input and output: Working with files, text and binary streams, serialization.

7. StreamAPI, lambda expressions, functional interfaces.

8. Threads: Multi-threaded applications, thread synchronization, producer-consumer problem.

9. Networking in Java: Basic concepts, classes for network communication, practical use of TCP with client-server architecture.

10. GUI creation and JavaFX library: Working with FXML, layouting, controls, tools for working with JavaFX.

11. Working with JavaFX by programming.

12. Database: Basics of relational DB, connecting to DB using Java, classes for executing commands, processing data obtained by queries.

13. (if the semester has 13 weeks) Consultations

Study Objective:

The goal is to teach students the Java programming language and the active ability to use basic Java libraries.

Study materials:

Schildt Herbert: Java: A Beginner's Guide

The Java Tutorials: https://docs.oracle.com/javase/tutorial/

Java Tutorial: https://www.tutorialspoint.com/java/

Note:

Information about the course and materials are available at https://moodle-vyuka.cvut.cz/link/course.php?cx=BIE-PJV&lang=en

Further information:
https://moodle-vyuka.cvut.cz/link/course.php?cx=BIE-PJV&lang=en
No time-table has been prepared for this course
The course is a part of the following study plans:
Data valid to 2025-03-14
For updated information see http://bilakniha.cvut.cz/en/predmet1997106.html