Coding
Java
Guides related to the Java programming language can be found here.
21 guides in 2 topics
All guides
17 of 21- Chapter 1: Introduction to JavaWelcome to the first chapter of this introductory programming series. In this chapter, you will learn the basics of how programming languages make computers…
- 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…
- Chapter 3: Variables, Scanners & StringsThis 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…
- Chapter 4: Decision Making with Control StatementsComputers 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…
- Chapter 5: BigDecimals, Mutability & Basic Memory ConceptsIn 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…
- Chapter 6: Custom MethodsSo 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…
- Chapter 7: LoopsBeing 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…
- Chapter 8: RecursionThis chapter discusses recursion, or recursive loops. Recursive loops are a loop structure in which a method invokes itself until a certain condition is met…
- Chapter 9: ArraysIn this chapter, we'll be examining arrays. An array is a collection of objects or variables of the same type. Each object or variable in an array is an…
- Chapter 10: ArrayListsIn the last chapter, you learned about arrays. One of the biggest limitations of arrays is their fixed size. A work around was discussed for expanding arrays…
- Chapter 11: Multidimensional ArraysA two-dimensional array is a data structure with two dimensions. You can think of it as a table with rows and columns. Keep in mind that data structures are…
- Chapter 12: Advanced String ConceptsStrings 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…
- Chapter 13: Exception Handling - Preventing ErrorsIn 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…
- Chapter 14: Basic File Input/OutputIn 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…
- Chapter 15: Object Oriented Design - Classes & ConstructorsWelcome 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…
- Chapter 16: Java's Main MethodIn 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…
- 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…