Week 15: Java Class and Java Field Variables Flashcards
1
Q
When we talk about a _____ we’re talking about the code itself, the code that sits around doing nothing.
When you put the code to work it’s an _____.
A
class; object
2
Q
The variables you set up inside of methods are only available to those methods. They are not available to other methods. They are said to have ___ scope.
A
local
3
Q
However, you can set up variables outside of methods that all the methods in your class can see. These are known as _______ (or Instance variables).
A
Field variables