Classes and Objects
The course is part of this learning path
This course looks at Object-Oriented programming in Java and shows how classes are designed and constructed, and how objects are created from them. Then, we'll complete three projects: creating a bank account class, an ice cream class, and a circle class, as well as tests to make sure that they work in order to reinforce what you've learned.
- 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 this section, we're going to look at OOP, which stands for Object-Oriented programming, in which we solve problems using self-contained entities called objects, which exhibit both behavior and they maintain data. Ever wondered how they maintain all the data and behaviors for the items in your inventory in a video game?
Or maybe you've thought about how super-complex systems like banking systems, store management software, automotive digital diagnostic systems, and tons of other applications were built? There's a good chance that many of these applications use some form of object-oriented programming. OOP is an essential tool for our toolkit and I'm excited to share it with you. We will look at how classes are designed and constructed, and how objects are created from them.
We'll explore both fields and methods from which we build classes and how to instantiate classes as objects. We'll work on a house, rectangle, and a book class together and test them out. Then, you complete three projects: creating a bank account class, an ice cream class, and a circle class, as well as tests to make sure that they work in order to reinforce what you've learned. Along the way, we'll discuss the unified modeling language and learn the basics of models, and how they help us design our classes. Specifically, you'll learn about UML class diagrams, which will help us organize and describe our classes before we construct them. I hope you're ready to learn some very cool and powerful techniques. 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.