The member variables and member functions in the
public part of the class definition are said to constitute the class's
public interface. Once you have moved the radius
and
length
member variables to the private part of the class definition,
the only way to get at them is via member functions that remain part of the
public interface.
Later, in the hardcopy version of this book, you see an example in which a member function appears in the private part of the class definition. Thus, member functions are not necessarily part of the public interface, just as member variables are not necessarily part of the public interface.