Everything aussiemcgr posted, bless his kind heart, is available in the Oracle Java Tutorials and probably your textbook, two places you should be spending all of your free time to discover the...
Type: Posts; User: GregBrannon
Everything aussiemcgr posted, bless his kind heart, is available in the Oracle Java Tutorials and probably your textbook, two places you should be spending all of your free time to discover the...
Look up "setter" or mutator and "getter" or accessor methods. Their purpose is to provide a "safe" access or interface to an object's attributes by other objects.