Join Peggy Fisher for an in-depth discussion in this video Designing for object-oriented programming, part of Java Essential Training for Students.
- As you know, Java is considered an Object-Oriented programming language, but what does that really mean? Classes and Objects are the main focus of this section. A Class is a blueprint for an object. Classes are used to represent the State and Behavior of that object. For example, if we have a Person Class, the person would have a State, which might be their Name or their Age or both, and they'll have a Behavior, such as maybe we need to change the name.
They got married or it was spelled incorrectly when the person was first added, or maybe we need to update their age. So a person has some state values, some attributes, Name, Age, and Behaviors, that we will use to update the data for this person. Change their name or update their age. We use Classes to model Real-world objects, such as Bank accounts, Vehicles, Animals, Inventory, and Movies, just to name a few.
Each class contains Instance data, Constructors, which are special methods used to build an instance of our class, and Methods, the blocks of code common to all objects of this class that represent the object's behavior.
- Getting started with parsing
- Reviewing data types
- Using decisions
- Creating user-defined methods
- Command-line debugging
- Exploring the Java API
- Creating and instantiating classes
- Working with interfaces
- Storing items with arrays
Skill Level Intermediate
1. Command Level Programming
2. Basics Review
4. Java API
5. Simulations and Algorithm Analysis
6. Classes and Objects
7. More on Classes
8. Data Structures
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.