Write the Java statement to display the following line as stated:
Sammy said, “\t is an escape sequence.”
Answers
Answered by
0
Answer:
System.out.println("Sammy said, \"\\t is an escape sequence.\"");
Attachments:
Answered by
1
- Write a java statement to display the following line.
Statement given,
Sammy said, "\t is an escape sequence."
The above statement can be printed in java using the following code.
System.out.println("Sammy said, \" \\t is an escape sequence.");
Similar questions
Math,
3 months ago
Social Sciences,
3 months ago
Biology,
7 months ago
Science,
7 months ago
Sociology,
11 months ago