Variables and Assignment Statements

Read this chapter, which covers variables and arithmetic operations and order precedence in Java.

19. More Practice


Answer:

Expression 53 12 - 3) x + 34 *z   99 sum + value
Correct or Not? Correct NOT Correct Correct NOT Correct Correct

More Practice

Let's try some more. Again, assume that all the variables have been correctly declared.

Expression  sum + * 3      (12 - 3)        sum * 34 / 2       emf * ( e       3.14y  
Correct or Not?                               

Question 20:

Why is the last expression not correct?