Modeling Entities in Java: Defining Custom Classes & Objects

Java    |    Intermediate
  • 11 videos | 1h 29m 40s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 50 users Rating 4.4 of 50 users (50)
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

  • 1m 29s
    Learn to leverage Java's OOP and built-in classes with your own instantiated custom classes and objects. Model entities, form public and private constructors along with access modifiers as you master idiomatic Java getter and setter methods, naming conventions, input parameters, and return types. FREE ACCESS
  • 11m 9s
    Watch how to declare and type check your string variables, instantiate objects of built-in Java classes, invoke the constructor method via the new keyword, and apply the concatenate operator, as you build your coding skills. FREE ACCESS
  • Locked
    3.  Creating Objects and Viewing Data
    8m 24s
    Experiment with built-in methods, such as .toString and .getClass in both built-in and user-defined classes, to create objects and view data. FREE ACCESS
  • Locked
    4.  Performing Operations on Objects in Java
    8m 24s
    Add a new user-defined class to see how to perform operations on Java objects. Use the .equals method inherited from java.lang.Object to evaluate memory locations. FREE ACCESS
  • Locked
    5.  Working with Member Variables in Java
    11m 6s
    See how to use the java.lang.Object base class to create member variables in Java and view their values. FREE ACCESS
  • Locked
    6.  Creating and Using Constructors in Java
    7m 45s
    Invoke a three argument constructor to see how to create constructors and use them to instantiate objects in Java.  FREE ACCESS
  • Locked
    7.  Initializing Fields with Constructors
    10m 43s
    Discover how to interpret IntelliJ warnings and use the "this" keyword to disambiguate arguments as you initialize your fields with constructors. FREE ACCESS
  • Locked
    8.  Using Private Fields
    10m 30s
    Learn to create, access, and view member variables as private Java objects to preserve their encapsulation. FREE ACCESS
  • Locked
    9.  Creating and Using Private Methods in Java
    8m 4s
    Recognize that access modifiers public and private apply not only to fields or member variables, but also to member functions, as you define and invoke private Java methods. FREE ACCESS
  • Locked
    10.  Exploring Getter and Setter Methods
    9m 40s
    Notice how to run type and safety checks in intelliJ as you invoke getter methods and edit member fields with setter methods in Java. FREE ACCESS
  • Locked
    11.  Course Summary
    2m 25s
    Combine Java's OOP and built-in classes with your own instantiated custom classes and objects. Model entities, form public and private constructors along with access modifiers as you master idiomatic Java getter and setter methods, naming conventions, input parameters, and return types. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 38 users Rating 4.4 of 38 users (38)
Rating 4.5 of 667 users Rating 4.5 of 667 users (667)
Rating 4.5 of 75 users Rating 4.5 of 75 users (75)