Modeling Entities in Java: Defining Custom Classes & Objects

Java SE 15
  • 11 Videos | 1h 30m 12s
  • Includes Assessment
  • Earns a Badge
Modeling entities in the real world require you to create custom classes to add to the various built-in classes already provided by Java. Creating such custom classes is key to harnessing the power of object-oriented programming (OOP) in Java. This course focuses on defining such custom classes and then creating objects. Make the most of this course by exploring custom classes, the use of constructors, and modifiers such as private and public. You will also learn the idiomatic Java method of working with getter and setter methods as well as conventions in naming, input parameters, and return types from such methods. After completing this course, you'll not only be able to define custom classes to serve as types in your programs but also instantiate and use objects of these custom classes.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    instantiate objects of built-in Java classes
    create objects in Java and access object information
    perform operations on Java objects
    create member variables in Java and view their values
    create constructors and use them to instantiate objects in Java
  • define constructors and use them to initialize member variables in Java
    create, access, and view private member variables in Java
    define and invoke private methods in Java
    explore type safety in getter methods and edit member fields with setter methods in Java
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 32s
    UP NEXT
  • Playable
    2. 
    Instantiating Objects of Built-in Java Classes
    11m 12s
  • Locked
    3. 
    Creating Objects and Viewing Data
    8m 27s
  • Locked
    4. 
    Performing Operations on Objects in Java
    8m 27s
  • Locked
    5. 
    Working with Member Variables in Java
    11m 9s
  • Locked
    6. 
    Creating and Using Constructors in Java
    7m 48s
  • Locked
    7. 
    Initializing Fields with Constructors
    10m 46s
  • Locked
    8. 
    Using Private Fields
    10m 33s
  • Locked
    9. 
    Creating and Using Private Methods in Java
    8m 7s
  • Locked
    10. 
    Exploring Getter and Setter Methods
    9m 43s
  • Locked
    11. 
    Course Summary
    2m 28s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.