Advertisements
Advertisements
प्रश्न
Which of the following occupies 2 bytes of storage?
पर्याय
25
AM
35.2
\\
MCQ
रिकाम्या जागा भरा
Advertisements
उत्तर
\\
Explanation:
The backslash here is a single character (a char), and in Java, a char uses 2 bytes (16 bits). The literal 25 is an int (4 bytes), 35.2 is a double (8 bytes) and “AM” is two chars (2 × 2 = 4 bytes).
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Official Board Paper
