Write the Java statement to display the following line as stated:
Sammy said, “\t is an escape sequence.”
Answers
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