Course Details

Previous Page


Java SE7 Professional: Generics, Errors, and I/O


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



Overview/Description
Understanding interfaces and inheritance, collections, string processing, error handling, and I/O is vital to learning to program with Java SE 7. This course covers modeling business problems using interfaces, defining a Java interface, choosing between interface and class inheritance, extending an interface, and refactoring code to implement the DAO pattern. In addition, it explores creating a customer generic class, using the diamond operator to create an object, creating a Collection by using an old style syntax and generics, using enumerated types, as well as implementing an ArrayList, a Set, a HashMap, and a Stack using a Deque. It demonstrates how to read data from the command line, create strings using a StringBuilder, and search, parse, and replace strings by using regular expressions. It defines the purpose of Java exceptions, and explains how to use the try and throw statements and the catch, multi-catch, and finally clauses. It covers autoclosing resources with a try-with-resources statement, common exception classes and categories, creating custom exceptions, and testing invariants by using assertions. 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.

Target Audience
Programmers with an understanding of the fundamental workings of Java who want to get started developing real Java 7 applications

Prerequisites
SkillSoft's JSEF path - Java SE7 Fundamentals

Expected Duration (hours)
2.0

Lesson Objectives

Java SE7 Professional: Generics, Errors, and I/O

  • create and implement an interface
  • recognize how to apply the DAO pattern
  • understand generics and use collections
  • sort collections with comparators
  • read data from the command line and search and parse strings
  • search, parse, and replace strings by using regular expressions
  • handle checked and unchecked exceptions
  • create custom exceptions and use assertions
  • read data from and write data to the console, and use streams to read and write files
  • write and read objects by using serialization
  • deal with exceptions
  • extend exceptions
  • use Java I/O and serialization
  • Course Number:
    jl_jsep_a02_it_enus