Java Programming Articles

Introduction
A Brief Introduction to the Java Programming Language
Variables
How to declare and use variables in Java
Selection
How to use selection (if and switch statements) in a Java program.
Repetition
How to write while, for, and do while loops in a Java program
Methods
How to write and call methods in Java
Method Overloading and Overriding
Explains method overloading and overriding in the Java programming language
Variable and Method Scope
Explains variable and method scope in the Java programming language
Interfaces and Abstract Classes
How to use interfaces, abstract classes, and regular classes
Visibility
Explains visibility (private, default, protected, public) in Java
Arrays
How to declare, create, and use arrays in Java
Strings
How to declare, create, compare, and use Strings in a Java program
Exceptions
Explains errors and exceptions in Java and how to declare, throw, and catch exceptions
Unit Testing with JUnit
Explains how to use JUnit to do unit testing in Java
Threads
Explains multiple threads of execution in Java. Includes an example program that compares single threaded and multi-threaded computation for n! (n factorial).
Thread Specific System.out
In a multi-threaded program, how to make System.out write to a different text file for each thread.