Advertisements
Advertisements
Question
Evaluate the following expression if the value of x = 2,y = 3 and z = 1.
v = x + – z + y + + + y.
One Line Answer
Solution
= 2 + 0 + 3 + 4
shaalaa.com
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Name the keyword which: indicates that a method has no return type.
Name the keyword which: makes the variable as a class variable.
What is the difference between the Scanner class functions next () and nextLine()?
System.out.print("BEST ");
System.out.println("OF LUCK");
Choose the correct option for the output of the above statements.