Category: Intro to Java Series

Chapter 7: Loops

Chapter 7: Loops

Being able to do the same tasks or computations repeatedly is one of the most useful things we can do with computers. Loops are blocks of code that can be repeated until a certain condition is met. They are fundamental to the development of many algorithms. There are several loop structures, which we will cover […]

Read more
Chapter 6: Custom Methods

Chapter 6: Custom Methods

So far in this series, all of our code has gone in the main method. A method is a block of code that gets executed when it’s called and is associated with a particular object or class. It’s a slightly more specific type of function, which is a block of code that is just executed when […]

Read more
Chapter 5: BigDecimals, Mutability & Basic Memory Concepts

Chapter 5: BigDecimals, Mutability & Basic Memory Concepts

In this chapter, we will study BigDecimals and learn about how the JVM handles them in system memory. The BigDecimal class is used to perform calculations when precision and rounding are of great importance. This makes them useful if you need to perform exact calculations involving money or other sensitive data. In Chapter 3, we […]

Read more
Chapter 4: Decision Making with Control Statements

Chapter 4: Decision Making with Control Statements

Computers can do much more than take input and return a simple set of formatted output (like a basic calculator). They can actually decide and perform actions based on the data that’s given to them. This is the basics of algorithm development. Algorithms are sets of rules followed by computers to solve problems. Control statements […]

Read more
Chapter 3: Variables, Scanners & Strings

Chapter 3: Variables, Scanners & Strings

This chapter will explain what variables are and how they are used. You will learn about different types of variables (primitive data types), strings, and how to perform some basic math operations. You will also learn how to use Scanners to read user input from the console window. We will conclude this chapter with a […]

Read more
Chapter 2: Hello, World.

Chapter 2: Hello, World.

This chapter will introduce you to the IntelliJ IDE. We will explore the basics of building a program called Hello World, which simply prints the message “Hello, World.” out to the console. This is a classic first lesson for new programmers – a time-tested tradition dating back to at least 1972[1]. Although it may be […]

Read more
Chapter 1: Introduction to Java

Chapter 1: Introduction to Java

Welcome to the first chapter of this introductory programming series. In this chapter, you will learn the basics of how programming languages make computers work and the advantages of using Java. You will learn a simple definition of object-oriented design and explore its advantages. Hopefully, you’ll pick up some useful study tips, too. If you already […]

Read more
1
17 guides found