Programming - Operators - Discussion

You Are Here :: Home > JAVA > Operators - Discussion

 



Q.

___________ symbol in Java which is used to assign a value to a variable lying to the left side of the assignment operator.                         


A. "+" B. "="
C. "==" D. both b and c

Answer: Option B
Explaination:

 


"=" symbol in Java which is used to assign a value to a variable lying to the left side of the assignment operator. But, If the value already exists in that variable then it will be overwritten by the assignment operator (=).




Discussion

Your Comments Goes here...
NameDiscussion