Computer scienceFundamentalsEssentialsProgramming conceptsObject-oriented programming

Encapsulation

Red flag

Report a typo

Assume that you have a Time class with a timeInterval attribute. You don't want to directly restrict access to this attribute, but set a red flag to indicate that it is best not to use it. What principle can help you to achieve our goal?

Select one option from the list
___

Create a free account to access the full topic