ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Accessible Member

Definition - What does Accessible Member mean?

An accessible member works alongside access specifiers which permit access to particular data based on the language it specifies. A normal set of access specifiers for class members or accessible members include:

  • Private - Restricts access to the class itself.
  • Protected - Allows the class and each subclass access to the member.
  • Public - Any code is able to access the member using the member name.


Accessible members control how classes inherit constraints and they separate class interfaces from class implementations. Some accessible members function as members-only access. That is, the internal data structures are exclusive.

Techopedia explains Accessible Member

Accessible members detach the internal data structure of a class from its interface. However, this private data can be inspected or modified by using public accessor methods since client codes can do whatever they want depending on the computer programming language and its features. Although visibility is not controlled by access specifiers, reference to the accessible member name from the client code won't be permitted. Languages such as Ruby differ in that they prevent access based on the instance itself rather than the class of the instance.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.