You are here

Chapter 6: Methods and Functions

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.

Technology: 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer