Category: Intro to Java Series

Start learning how to program in Java today with this introductory series, structured similarly to a Computer Science I course.

This series features code examples, video tutorials, review quizzes, and sample projects.

What You’ll Learn

Chapter 11: Multidimensional Arrays

July 17, 2024
Chapter 11: Multidimensional Arrays

This chapter expands on the knowledge discussed about arrays in Chapter 9. You will learn about multidimensional arrays, starting with two-dimensional arrays. The arrays and ArrayLists in the previous two chapters were all one-dimensional arrays. You can think of them like a linear structure of data, where each element in the array comes directly after […]

Chapter 12: Advanced String Concepts

July 17, 2024
Chapter 12: Advanced String Concepts

Strings have been used throughout this series. By now, you should understand that strings hold a series of characters. In this chapter, you will learn more about Strings, how they are structured, how they may be broken down or manipulated, and how to search them. You will also create an algorithm yourself that searches and […]

Chapter 13: Exception Handling – Preventing Errors

July 17, 2024
Chapter 13: Exception Handling – Preventing Errors

In this chapter, you will learn ways to prevent users from unintentionally crashing your programs. The focus will be on try/catch blocks and using specific scanner methods to read certain data types and prevent exceptions from occurring. 13.1 Exceptions Up to this point in the series, all the programs requiring user input have assumed that […]

Chapter 14: Basic File Input/Output

July 17, 2024
Chapter 14: Basic File Input/Output

In this chapter, you will learn how to use Java to interact with the computer’s file system. We will use Java to read and save text files on the user’s computer. This will enable you to create programs which can save and load information for later use. Files A file is a piece of information stored on […]

Chapter 15: Object Oriented Design – Classes & Constructors

July 17, 2024
Chapter 15: Object Oriented Design – Classes & Constructors

Welcome to the first chapter on OOP! This is the first of several chapters on this subject. To begin, we will examine basic object-oriented design principles. You will learn what object-oriented design is and its fundamental role in modern application development. By the end of this chapter, you should understand how to create basic objects […]

Chapter 16: Java’s Main Method

July 17, 2024
Chapter 16: Java’s Main Method

In this chapter, we will explore what each keyword in the main method actually means as it relates to object-oriented programming and the scope of the method. By now, you should have seen the main method dozens of times. Main.java Recall that the main method is the entry point to the program. It’s the block of code […]

Chapter 17: Class Inheritance (OOP)

July 17, 2024
Chapter 17: Class Inheritance (OOP)

When used properly, inheritance allows us to extend the properties or methods of a class to its subclasses. It’s like how a child inherits traits from their biological parents. Inheritance allows us to form an “is-a” relationship between different classes, where the child class extends the parent class. This was briefly touched upon back in Chapter 15. […]

Jump to category: