Java SE 7 Programming

This course provides thorough and deep coverage of the Java programming language and the Java Standard Edition (SE) 7 development platform. You will learn how to implement object-oriented applications using Java, and how to make use of common APIs in the Java SE library.

What you will learn:

  • Writing clean Java code
  • Implementing object-oriented solutions in Java
  • Using core Java SE classes
  • Handling exceptions and assertions
  • Working with files and databases
  • Using multithreading and concurrency

Prerequisites:

  • At least 6 months programming experience
  • Familiarity with OO concepts would be an advantage

Course outline:

Getting Started with Java:

  • Java goals and principles; Installing and using the Java SE; JAR files; Using an IDE

Java Language Fundamentals

  • Basic syntax rules; Defining classes; Defining and using packages; Declaring and using variables; Useful Java classes; Wrapper classes

Operators and Flow Control:

  • Survey of common operators; Decision making; Looping constructs; for-each style loops

Defining and Using Classes

  • Essential concepts; Defining a class; Creating and using objects; Initialization; Using the static keyword

Arrays:

  • Declaring and using arrays; Traversing arrays; Using the Arrays class; Multi-dimensional arrays

Additional Language Features:

  • Autoboxing / unboxing; Varargs; Type-safe enumerations; Static imports

Useful Java SE Classes and Techniques:

  • The Console class; The StringBuilder class; Formatting techniques; Regular expressions

Inheritance:

  • Overview of inheritance; Defining superclasses and subclasses; Polymorphism; Abstract classes and methods; Final classes and methods

Interfaces:

  • Overview of interfaces; Defining and implementing interfaces; Using interfaces in client code

Collections and Generics:

  • Overview of collections and generics; The need for generics; Using collections; Defining generic classes; Defining generic methods

Exceptions and Assertions

  • Overview of exception handling; Throwing and catching exceptions; Standard exception classes; Defining new exception classes; Working with assertions

Inner Classes:

  • Overview of inner classes; Regular inner classes; Method-local inner classes; Anonymous inner classes; Static nested classes

File Handling:

  • Overview of working with files; Reading and writing text files; Reading and writing binary files; Serialization

Multithreading:

  • Creating multiple threads; Synchronizing threads; Synchronization classes; Concurrency API

Accessing Databases using JDBC:

  • JDBC drivers and connections; Statements and results; Obtaining metadata; Additional techniques

Andy Olsen - author of the course

Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.

Other relevant courses