Java Language Tutorial:

Java Language Getters and Setters


This article discusses getters and setters; the standard way to provide access to data in Java classes.

Java Language Getters and Setters Examples:

Related Java Language Tutorial Topics:

Other Tutorial Topics:

This modified content is an extract of the original Stack Overflow Documentation released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow. This topic was created and modified by the Stack Ovedrflow Contributor.