Day 23-Access Modifier

  • Private-Only within the containing classes
  • Public-Any where,NO restrictions
  • Protected-Within the containing class and the class derived from the the containing class
  • Internal-Anywhere with in the containing assembly
  • Protected Internal-Anywhere with in the containing assembly,and from within a derived class in any another assembly



Click To Zoom Image

Click To Zoom Image

Click To Zoom Image