Login and Register ×
Check your Email for the OTP
ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER
⚠ Report ✓ Question Verified Copy Link
Explanation:
'\n'
'\n' is a character literal → newline character.
In Java, every character is stored in char type.
char
Unlike C/C++, where char is 1 byte,
In Java, char is always 2 bytes (16 bits) because Java uses Unicode.
'\n' is simply a char, so its size = 2 bytes.
✅ Answer: (a) 2 bytes
Related Topic:
Share Above MCQ
Learn More MCQ Questions from ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER