In the real world, we focus on the visible object. As soon as the object is visible, we are talking about the scope of the object.
example in the real world If you walk along the street, you see houses, there are houses in the colony. If the colony is protected, no one can see at home. It is believed that there are no houses in the colony.
In programming If we make a class private / protected at the top level, no one knows about it, is it present in the assembly?
correct me please if I'm out of sight
Sameer Bahad May 03 '19 at 17:37 2019-05-03 17:37
source share