Access specifiers (or access modifiers) are keywords in object-oriented languages that set the accessibility of classes, methods, and other members. Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components.
There are 5 access modifiers.
- Private: Accessible only within the class.
- Protected: Accessible within the class and its derived classes.
- Internal: Accessible anywhere within the current project or assembly.
- Protected internal: Accessible with current project and derived classes.
- Public: Accessible everywhere.
32 thoughts on “Visual Explanation of Access Specifiers in OOPs”
This is my first time visit at here and i am really pleassant
to read everthing at alone place.
Excellent blog post. I definitely love this site.
Continue the good work!
I enjoy looking through an article that will make people think.
Also, thank you for allowing for me to comment!
Thank you so much geekphilip
thanks a lot…
Wonderful work! This is the kind of info that should be shared across the web.
Thank you =)
It’s actually a great and useful piece of information. I’m glad that you shared this useful info with us.
Please keep us informed like this. Thank you for sharing.
Hello, I enjoy reading all of your post. I wanted to write
a little comment to support you.
Howdy! I could have sworn I’ve been to this website before but after looking
at a few of the articles I realized it’s new to me.
Nonetheless, I’m definitely pleased I found it and I’ll be book-marking it and checking back regularly!
I was able to find good advice from your articles.
That is a great tip especially to those new to the blogosphere.
Simple but very accurate info… Appreciate your sharing this
one. A must read post!
I just want to mention I am just new to blogs and actually savored your blog. Likely I’m going to bookmark your blog . You certainly come with very good stories. Appreciate it for sharing your web-site.
Usually I do not learn article on blogs, but
I would like to say that this write-up very pressured me to try and do it!
Your writing taste has been surprised me. Thank you, very great article.
Very soon this site will be famous among all blog visitors, due to it’s nice posts
This article was… how do you say it? Relevant!!
Finally I’ve found something that helped me.
Thanks a lot!
I always used to read post in news papers but now as I am a user of net thus
from now I am using net for articles or reviews,
thanks to web.
I am in fact thankful to the owner of this web site who has shared this fantastic piece of writing at here.
I simply want to tell you that I am newbie to blogging and site-building and seriously enjoyed your website. Likely I’m planning to bookmark your site . You amazingly have superb articles. Thank you for sharing with us your blog.
If some one wishes to be updated with hottest technologies then he must be pay a visit this web site and be up to date all the time.
I simply want to tell you that I’m very new to weblog and definitely enjoyed this web page. Almost certainly I’m going to bookmark your blog . You absolutely have beneficial posts. Appreciate it for sharing your website page.
Hi, after reading this amazing article i am too cheerful to share my
experience here with friends.
It’s wonderful that you are getting thoughts from this article as
well as from our argument made at this place.
I simply want to say I’m beginner to blogging and site-building and actually savored you’re blog site. Likely I’m going to bookmark your site . You absolutely come with perfect well written articles. Thank you for sharing with us your website page.
Very couple of internet websites that transpire to become detailed beneath, from our point of view are undoubtedly well worth checking out.
Great article! We are linking to this particular great article on our
site. Keep up to date the good writing.
Hello to every body, it’s my first pay a quick visit of this
website; this website consists of awesome and actually
good data in favor of readers.
If you would like to grow your knowledge just keep visiting this website and be updated with the hottest information posted here.
Thanks a bunch for sharing this with all folks you
actually understand what you’re talking approximately!
Bookmarked. Kindly additionally visit my web site =).
We could have a link trade arrangement between us
Great article, totally what I wanted to find.
Wow, awesome blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your website is magnificent, let alone
Awesome! Its truly amazing piece of writing,
I have got much clear idea about from this article.