File I/O and Exceptions
The course is part of this learning path
This course covers how to persist data as well as how to write data from programs to file to be used later, which is called file output. We'll also learn about how to load the data from files and populate our variables with that data, which is called file input.
- Beginner coders or anyone new to Java
- Experienced Java programmers who want to maintain their Java knowledge
- Developers looking to upskill for a project or career change
- College students and anyone else studying Java
This is a beginner-level course and can be taken by anyone with an interest in learning about Java.
In the previous sections, we've established solid knowledge about how to write Java source code. We know about how to work with variables, data types, and operations on data. We've learned about control statements, which are broken into three categories- sequential, selection, and repetition. And we have also learned the fundamentals about object-oriented programming. In this section, we will learn about how to persist our data.
In other words, we'll learn how to write our data from our programs to file to be used later, which is called file output. We'll also learn about how to load the data from files and populate our variables with that data, which is called file input. We will round out this section with interesting projects that include one creating rectangles from file data, and another creating circles from file data, as well as writing calculated data about those circles to file. I'm excited to get started, and there is a lot to learn in this section. So, up next is our first content lecture, where we'll learn about file input. Let's get going.
John has a Ph.D. in Computer Science and is a professional software engineer and consultant, as well as a computer science university professor and department chair.