5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

IT Skills     Software Design and Development     Java     Object-Oriented Programming in Java

In this course, you will learn about access modifiers that can be used to tag member variables and member functions inside Java classes to regulate how these can be accessed from different contexts. Participants begin by examining the properties of public, private, and protected access modifiers. These properties govern how classes, member functions, and member variables can be accessed within the same class, outside the same class but within the same package, and in entirely different packages. This leads into an examination of cross-package access and how access works from one package into another. You will then learn about the semantics of protected members, and the use of the protected access modifier. Next, explore the cross-package access of protected members, which enables you to use the protected keyword across packages. As the course concludes, you will learn about the semantics of using default access modifiers both inside and outside the same package.



Objectives

Java OOP: Access Modifiers for Regulating Access

  • discover the key concepts covered in this course
  • describe properties of public, private, and protected access modifiers
  • recognize how access works from one package into another
  • use the protected access modifier
  • use the protected keyword across packages
  • recognize the semantics of using default access modifiers inside the same package
  • recognize the semantics of using default access modifiers outside the current package
  • summarize the key concepts covered in this course