85.5k views
1 vote
Question # 6

Multiple Choice
The of a variable is determined by which parts of a program can view and change its value.
O influence
O magnitude
O scope
Orange

User Dimbo
by
4.7k points

2 Answers

2 votes

Answer:

the answer is scope, for me it's D but they tend to change.

Step-by-step explanation:

User Pault
by
5.2k points
4 votes

Answer:

Scope.

Step-by-step explanation:

In programming, the scope could be static, private or public and in those, defines the scope of a specific variable.

Ex.

public int x = 0; // Can be seen when called within a whole class and outside of a class/ function.

private int y = 0; // Can be seen only within the class its defined in.

static pub/priv int z = 0; // Uncangeable variable that can be defined in both class and external class, depending on the two prior scopes defined after.

int aa = 0; // Defaults to private.

User Oscerd
by
5.7k points