Single Choice
Moderate
QWhich escape sequence in Java is used to represent a newline character?
ID: #19866
Escape sequences in Java
112 views
Question Info
#19866Q ID
ModerateDifficulty
Escape sequences in JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The correct escape sequence to represent a newline character in Java is \n.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic