Course Details

Previous Page


Java SE 8 Programming: Date/Time API, I/O and File I/O (NIO.2), and Concurrency


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
Java, an object-oriented programming language, is one of the most widely used development languages in the world today. It allows programmers to create objects that can interact with other objects to solve a problem. This course covers how to work with date and time values using the java.time API. The basics of input and output in Java, reading data from and writing data to the console, using streams to read and write files, and reading and writing objects by using serialization are also covered. Additionally, the course covers File I/O (NIO.2). Finally, it covers implementing concurrency in Java applications, including how to examine operating system task scheduling, define, create, and manage threads, synchronize threads for accessing shared data, identify potential threading problems, and use the java.util.concurrent library. This course can be used to as part of preparation for the Oracle Certified Professional, Java SE 8 Programmer II exam.

Target Audience
Programmers who have basic experience with the Java language, and who can create, compile, and execute Java programs

Prerequisites
None

Expected Duration (hours)
2.3

Lesson Objectives

Java SE 8 Programming: Date/Time API, I/O and File I/O (NIO.2), and Concurrency

  • start the course
  • describe the java.time application program interface or API
  • use the LocalDate class to display a date in Java
  • use the LocalTime class to display a time in Java
  • use the LocalDateTime class to display a date and time in Java
  • describe how to work with dates and times across time zones in Java
  • work with dates and times across different time zones in a Java application
  • describe how to use classes, interfaces, and methods associated with date and time in Java
  • format dates in Java
  • practice working with local dates and times in Java
  • describe the basics of input and output in Java
  • describe how to work with input and output streams in byte format in Java
  • describe how to work with input and output streams in character format in Java
  • describe how input and output streams are chained in Java
  • describe how to read and write data from the console
  • describe how to write and read objects using serialization
  • serialize and deserialize a ShoppingCart object using Java
  • practice writing a simple Java console I/O application
  • describe how to use the Path interface to operate on file and directory paths
  • describe how to use the Files class to check, delete, copy, or move a file or directory
  • describe how to use the Stream application program interface or API with NIO.2
  • read text files using new features in Java 8 and the lines method
  • practice listing directories and files using new features found in Java 8
  • Course Number:
    jl_sepr_a04_it_enus