Home Segments Top Top Previous Next

284: Sidetrip

In Chapter 36, you learn that a particular class's protected variables and methods also are accessible from instance methods defined in another class, as long as that other class belongs to the same compilation unit or package.