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