A good answer might be:No. The incorrect splittings are highlighted in red:
The last statement is correct, although not done in a good style for easy human comprehension. The extra blank lines are OK. |
Assignment StatementsSo far, we have been using the value initially put into a variable, but not changing the value that a variable holds. Of course, variables are expected to vary by having new values placed into them as the program runs. An assignment statement is one way to change the value in a variable. Here is a program that uses an asignment statement:
The assignment statement puts the value 123 into the variable.
In other words,
when the program is executing (as bytecodes on the Java interpreter)
there will be a 64 bit section of memory that gets the value 123.
|
QUESTION 10:What does the program print to the monitor? Click Here after you have answered the question |