Chapter 6: Methods and Functions

jeffheaton's picture
in
Get the entire book!
Java for the Beginning Programmer

In the Chapter 3 we learned about variables. You saw that there were different variable data types. There are also different variable scope types. But what exactly is scope? Variable scope refers to what can access a variable and what cannot access a variable. There are three levels of scope for variables in Java.


Copyright 2005 - 2012 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright, license and trademark information.