Java SE 11: Encapsulation

Java SE 11
  • 13 Videos | 58m 37s
  • Includes Assessment
  • Earns a Badge
Likes 112 Likes 112
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

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.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 94 Likes 94  
Likes 251 Likes 251