220k views
1 vote
True or False? In an assignment operation, the variable that is to RECEIVE a value appears on the RIGHT of the = operator, and the value, or expression that produces a value, appears on the LEFT of the = operator.

User Predactor
by
5.1k points

1 Answer

6 votes

Answer:

False

Step-by-step explanation:

Assignment operation goes from the left to the right. Consider the following examples:

int num1 = 12;

String name = "David";

In both instances int and String are variable type declaration. num1 and name are the variables, the equality sign (=) is the assignment operator, 12 and David are the values being received by num1 and name respectively. You see that the variables are to the left of the assignment operator while the values being stored in them are to the right

User Sajib Mahmood
by
5.9k points