26 April 2011

Access Modifier Chart

 

Private

Internal

Protected

Protected Internal

Public

With In class

Y

Y

Y

Y

Y

With IN child class of same project

N

Y

Y

Y

Y

With IN Non child class of same project

N

Y

N

Y

Y

With IN child class of other project

N

N

Y

Y

Y

With IN Non child
class of other project

N

N

N

N

Y

1 comment:

  1. Now we can easily find where public,private,intenal,protected,protected access specifer used

    ReplyDelete

Your comments, Feedbacks and Suggestions are very much valuable to me :)

Things are upgraded

My Dear readers, I am really thankful for being supportive all these years. This site was the first blog site I ever created in my life...