Below are guides to help you with your Java programming. They are all easy to understand with clear and complete examples.
Creating and using fixed length arrays. Find out how combining them with for loops can make your programs easier to understand! The example is creating an array of lottery numbers.
How to use Java's ArrayLists. These are dynamic arrays that you can add and remove items to. Like arrays, they can help simplify your code. The example is creating and adding to a list of planets.
Methods (sometimes called functions) are self contained blocks of code that can help with code organisation and can be called multiple times reducing duplication. The example shows a method to calculate the area of a rectangle.
Strings are one of the most commonly used data types, learn how to create and use them effectively! The example demonstrates creating and modifying strings.
This guide shows how to compare Strings the correct way using the equals method.
Splitting Strings is very useful, this page shows how to split a string of numbers and add them together. It also shows how to convert a String to a number and how an exception is raised if it fails.
Updated (05/12/2025)