In accordance with this theory, the attributes of a class are made private to cover and protect them from other code. of the abstraction. The values for getRadius() or getCircumference() in the above instance could possibly be stored straight, or they could be calculated, it doesn't matter to the caller; https://smartworldeveloper.in/