Java Introduction (3 days – £1,785, plus VAT)

This course is designed for beginners and covers: what is Java?; installing the software; getting started; working with variables; working with objects; exception handling and debugging; managing program flow; using data collections; creating custom classes; working with inheritance; using common Java libraries; and preparing a Java application for deployment.

What Is Java?

The History Of Java, Principles And Components Of Java, Java Syntax And Compilation, Memory Management And Garbage Collection, Choosing A Development Environment

Installing The Software

Installing Java On Windows, Installing Java On Os X, Installing Intellij Idea On Windows, Installing Intellij Idea On Os X, Installing Bluej

Getting Started

Hello World, Passing Arguments To A Console Application, Organizing Java Classes In Packages, Creating A Java Project In Intellij Idea, Taking A Tour Of Intellij Idea, Creating A Java Project In Bluej, Using The Java Api Documentation

Working With Variables

Working With Primitive Variables, Declaring And Initializing Numeric Primitives, Representing Currency Values With Bigdecimal, Converting Numeric Values, Using Mathematical Operators And The Math Class, Working With Boolean Values And Expressions, Working With Character Values, Using Java Operators

Working With Objects

Working With Object Data Types, Using The String Class, Converting Primitive Values To Strings, Building A String From Multiple Values, Comparing String Values, Formatting Numeric Values As Strings, Parsing String Values, Working With Dates And Times, Challenge: Creating A Simple Calculator Application, Solution: Creating A Simple Calculator Application

Exception Handling And Debugging

Understanding Syntax Errors Vs. Runtime Exceptions, Debugging With Intellij Idea, Handling Exceptions With Try/Catch, Creating Multiple Catch Blocks, Throwing Custom Exceptions

Managing Program Flow

Programming Conditional Logic, Using The Switch Statement, Creating Looping Code Blocks, Creating Reusable Code With Methods, Overloading Methods With Different Signatures, Passing Arguments By Reference Or By Value, Challenge: Creating A More Complex Calculator Application, Solution: Creating A More Complex Calculator Application

Using Data Collections

Using Simple Arrays, Using Two-Dimensional Arrays, Managing Resizable Arrays With Arraylist, Managing Unordered Data With Hashmap, Looping Through Collections With Iterators And For-Each

Creating Custom Classes

Understanding Encapsulation, Creating And Instantiating Custom Classes, Creating Nested And Anonymous Classes, Visualizing Class Relationships, Storing Data In Instance Variables, Declaring Instance And Static Methods, Using Constructor Methods, Using Static Variables As Constants, Declaring And Using Enum Types

Working With Inheritance

Understanding Inheritance And Polymorphism, Extending Classes And Overriding Methods, Creating And Implementing Interfaces, Using Abstract Classes And Methods

Using Common Java Libraries

Managing Files With The Original File Class, Managing Files With Java 7’S New I/O Library, Managing Files With Apache Commons Fileutils, Reading A Text File Over The Internet

Preparing A Java Application For Deployment

Documenting Code With Javadoc