Computer Applications
Answer
\\
Reason —
- 25 is an integer literal. In Java, an
intoccupies 4 bytes, hence it is not correct. - AM represents a string consisting of two characters. Each character occupies 2 bytes, so total memory required is 4 bytes, hence it is not correct.
- 35.2 is a double literal. In Java, a double occupies 8 bytes, hence it is not correct.
- \\ represents a single character (backslash) using an escape sequence ('\\'). In Java, a char occupies 2 bytes, hence it is correct.
Related Questions
The full form of JVM is:
- Java Visible Machine
- Java Virtual Mode
- Java Virtual Machine
- Java Visible Mode
In a statement
c = c + (x * d + e);which variable is an accumulator?- d
- c
- e
- x
Which of the following is NOT an access specifier?
- private
- protected
- package
- public
What is the output of the statement
Math.pow(36, 6/5);?- 36.0
- 1.0
- 73.71
- 6.0