What are the 3 access modifiers variables and functions can be given in a class?

In most of the object-oriented languages access modifiers are used to limit the access to the variables and functions of a class. Most of the languages use three types of access modifiers, they are – private, public and protected .

Sizin İçin Seçtik  Tercüman etmek ne demek?

Leave a Reply

Your email address will not be published. Required fields are marked *