Java SE 11: Encapsulation


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
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.

Expected Duration (hours)
0.9

Lesson Objectives

Java SE 11: Encapsulation

  • 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
  • Course Number:
    it_sdjase_05_enus

    Expertise Level
    Beginner