JAVA Programming

Introduction:

This course demonstrates how to install both Java and the Eclipse IDE and dives into the particulars of programming. The course also explains the fundamentals of Java, from creating simple variables, assigning values, and declaring methods to working with strings, arrays, and subclasses; reading and writing to text files; and implementing object oriented programming concepts.

Pre-requisition:

Computer literacy, Programming Basic, Basic English

Duration:

21 hours / Part time

Content:

1. What Is Java?

1.1. The history of Java

1.2. Java compilation and syntax

1.3. Understanding the principles of Java

1.4. Choosing a development environment

2. Installing the Software

2.1. Installing Java on Windows

2.2. Installing Eclipse on Windows

2.3. Exploring Java on Mac OS X Leopard and Snow Leopard

2.4. Installing Java on Mac OS X Lion

2.5. Installing Eclipse on Mac OS X

3. Getting Started

3.1. Creating a Hello World application

3.2. Exploring the Eclipse IDE

3.3. Compiling and running from the command line

3.4. Passing arguments to the application

3.5. Using the Java API documentation

3.6. Memory management and garbage collection

4. Using Primitive Data Types

4.1. Everything is an object

4.2. Declaring and initializing variables

4.3. Working with numbers

4.4. Converting numeric values

4.5. Understanding operators

4.6. Working with character values

4.7. Working with Boolean values

4.8. Outputting primitive values as strings

4.9. Creating a simple calculator application

5. Exploring Syntax and Flow

5.1. Writing conditional code

5.2. Using the switch statement

5.3. Repeating code blocks with loops

5.4. Creating reusable code with methods

5.5. Declaring methods with arguments

5.6. Overloading method names with different signatures

5.7. Passing arguments by reference or by value

5.8. Creating a more complex calculator application

6. Working with Complex Objects

6.1. Using the String class

6.2. Building strings with StringBuilder

6.3. Parsing string values

6.4. Working with date values

7. Exception Handling and Debugging

7.1. Understanding compile-time vs. runtime errors

7.2. Handling exceptions with try/catch

7.3. Throwing exceptions in methods

7.4. Using the debugger

8. Using Data Collections

8.1. Using simple arrays

8.2. Using two-dimensional arrays

8.3. Managing resizable arrays with ArrayList

8.4. Managing unordered data with HashMap

8.5. Looping through collections with iterators

9. Creating Custom Classes

9.1. Understanding encapsulation

9.2. Creating and instantiating custom classes

9.3. Organizing classes with packages

9.4. Creating and using instance methods

9.5. Storing data in instance variables

9.6. Using constructor methods

9.7. Managing instance data with getter and setter methods

10. Working with Inheritance and Polymorphism

10.1. Understanding inheritance and polymorphism

10.2. Extending custom classes

10.3. Overriding superclass methods

10.4. Casting subclass objects

10.5. Understanding interfaces and implementing classes

10.6. Creating your own interfaces

10.7. Using abstract classes and methods

11. Working with Files

11.1. Managing files with the core class library

11.2. Managing files with Apache Commons FileUtils

11.3. Reading a text file from a networked resource

11.4. Parsing an XML file with DOM

12. Preparing an Application for Deployment

12.1. Creating your own JAR files

12.2. Understanding the classpath

12.3. Documenting code with Javadoc