Java SE 11: Encapsulation

Java    |    Beginner
  • 13 videos | 52m 37s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 182 users Rating 4.6 of 182 users (182)
Explore object-oriented programming concepts and techniques, in Java. During this course, you will discover various static methods and variables and explore a number of topics. These include the following: how to create and access static members, how to employ constants to represent unchangeable values, how to change numeric variable types through promotion and casting, and convert data values. Other topics include how to convert strings to their primitive numeric types, ciscover access control, and how to distinguish between the public interface and the internal workings of a class. Next, you will learn how to use public and private access modifiers, study encapsulation with object-oriented design, and create class setter methods with value checking. As you progress, other key areas include how to add method parameters to overload a constructor, how to pass an Object Reference, and pass a value. Finally, you will learn how to reassign a reference value in a method.

WHAT YOU WILL LEARN

  • Describe the use of static methods and variables
    Create and access static members
    Use constants to represent values that cannot change
    Change numeric variable types through promotion and casting
    Convert numbers represented as strings to their primitive numeric type
    Distinguish between the public interface of a class and the internal workings of the class
    Use public and private access modifiers
  • Describe the use of encapsulation in object-oriented design
    Create class setter methods with value checking
    Overload a constructor by adding method parameters to a constructor
    Describe how object references are passed by value as an argument to a method
    Reassign a reference value in a method to illustrate pass by value
    Use a setter method to convert a string parameter to a primitive numeric type

IN THIS COURSE

  • 2m 32s
    After completing this video, you will be able to describe the use of static methods and variables. FREE ACCESS
  • 4m 7s
    In this video, you will learn how to create and access static members. FREE ACCESS
  • Locked
    3.  Exploring Constants
    3m 57s
    In this video, find out how to use constants to represent values that cannot be changed. FREE ACCESS
  • Locked
    4.  Promoting and Casting Variables
    6m 8s
    In this video, you will learn how to change numeric variable types through promotion and casting. FREE ACCESS
  • Locked
    5.  Converting Data Values
    3m 22s
    In this video, learn how to convert numbers represented as strings to their primitive numeric type. FREE ACCESS
  • Locked
    6.  Introduction to Access Control
    5m
    Find out how to distinguish between the public interface of a class and the internal workings of the class. FREE ACCESS
  • Locked
    7.  Using Public and Private Modifiers
    5m 31s
    In this video, find out how to use public and private access modifiers. FREE ACCESS
  • Locked
    8.  Encapsulation
    3m 3s
    After completing this video, you will be able to describe the use of encapsulation in object-oriented design. FREE ACCESS
  • Locked
    9.  Using Setter Methods with Checking
    3m 10s
    In this video, you will learn how to create class setter methods with value checking. FREE ACCESS
  • Locked
    10.  Overloading Constructors
    4m 38s
    To overload a constructor, add method parameters to the constructor. FREE ACCESS
  • Locked
    11.  Passing an Object Reference
    3m 16s
    After completing this video, you will be able to describe how object references are passed by value as an argument to a method. FREE ACCESS
  • Locked
    12.  Passing by Value
    5m 32s
    In this video, you will reassign a reference value in a method to illustrate pass by reference. FREE ACCESS
  • Locked
    13.  Exercise: Data Conversion in a Setter Method
    2m 21s
    Learn how to use a setter method to convert a string parameter to a primitive numeric type. 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.6 of 124 users Rating 4.6 of 124 users (124)
Rating 4.6 of 148 users Rating 4.6 of 148 users (148)
Rating 4.6 of 343 users Rating 4.6 of 343 users (343)