Logo ČVUT
ČESKÉ VYSOKÉ UČENÍ TECHNICKÉ V PRAZE
STUDIJNÍ PLÁNY
2025/2026

Programming in Java

Zobrazit rozvrh
Kód Zakončení Kredity Rozsah Jazyk výuky
BIE-PJV Z,ZK 4 2P+2C anglicky
Garant předmětu:
Jan Blizničenko
Přednášející:
Jan Blizničenko
Cvičící:
Jan Blizničenko
Předmět zajišťuje:
katedra softwarového inženýrství
Anotace:

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.

Požadavky:

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

Osnova přednášek:

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.

Osnova cvičení:

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

Cíle studia:

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

Studijní materiály:

Schildt Herbert: Java: A Beginner's Guide

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

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

Poznámka:

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

Další informace:
https://moodle-vyuka.cvut.cz/link/course.php?cx=BIE-PJV&lang=en
Rozvrh na zimní semestr 2025/2026:
Rozvrh není připraven
Rozvrh na letní semestr 2025/2026:
Rozvrh není připraven
Předmět je součástí následujících studijních plánů:
Platnost dat k 8. 4. 2025
Aktualizace výše uvedených informací naleznete na adrese https://bilakniha.cvut.cz/cs/predmet1997106.html