The interface of a class is based on those data instances and methods that are declared public.

The interface of a class is based on those data instances and methods that are declared public.


Answer: True. Explanation: The interface is how an outside agent interacts with the object. Interaction is only available through those items declared to be public in the class’ definition.


Java

Learn More Multiple Choice Question :