Logo ČVUT
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2023/2024
UPOZORNĚNÍ: Jsou dostupné studijní plány pro následující akademický rok.

Programming in Java

Login to KOS for course enrollment Display time-table
Code Completion Credits Range Language
BIE-PJV Z,ZK 4 2P+2C English
Garant předmětu:
Jan Blizničenko
Lecturer:
Jan Blizničenko
Tutor:
Jan Blizničenko
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:
Further information:
https://moodle-vyuka.cvut.cz/link/course.php?cx=BIE-PJV&lang=en
Time-table for winter semester 2023/2024:
06:00–08:0008:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–18:0018:00–20:0020:00–22:0022:00–24:00
Mon
Tue
Wed
roomT9:346
Blizničenko J.
11:00–12:30
(lecture parallel1)
Dejvice
NBFIT učebna
roomT9:350
Blizničenko J.
14:30–16:00
(lecture parallel1
parallel nr.101)

Dejvice
NBFIT PC ucebna
Thu
Fri
Time-table for summer semester 2023/2024:
Time-table is not available yet
The course is a part of the following study plans:
Data valid to 2024-03-27
Aktualizace výše uvedených informací naleznete na adrese https://bilakniha.cvut.cz/en/predmet1997106.html