Mark the following statements as true or false. a. An identifier can be any sequence of digits
Question:
Mark the following statements as true or false.
a. An identifier can be any sequence of digits and letters.
b. In Java, there is no difference between a reserved word and a predefined identifier.
c. A Java identifier can start with a digit.
d. The operands of the modulus operator must be integers.
e. If the value of a is 4 and the value of b is 3, then after the statement a = b; the value of b is still 3.
f. In an output statement, the newline character may be a part of the string.
g. The following is a legal Java program:
public class JavaProgram
h. In a mixed expression, all operands are converted to floating-point numbers.
i. Suppose x = 5. After the statement y = x++; executes, y is 5 and x is 6.
j. Suppose a = 5. After the statement ++a; executes, the value of a is still 5 because the value of the expression is not saved in another variable.
Cost Accounting Foundations and Evolutions
ISBN: 978-1111626822
8th Edition
Authors: Michael R. Kinney, Cecily A. Raiborn