Computer Science, asked by poonamguptta543, 2 months ago

in a method if a variable is declared can you use it outside the method what is the such variable called​

Answers

Answered by ΙΙïƚȥΑαɾყαɳΙΙ
3

Answer:

class variables

Explanation:

There is one further level at which variables can be declared. These are class variables. They are variables declared outside of any methods, but within the class, and as such exist for all methods in the class.

Answered by Anonymous
4

Answer:

Explanation:

class variables

There is one further level at which variables can be declared. These are class variables. They are variables declared outside of any methods, but within the class, and as such exist for all methods in the class.

Similar questions