Computer Science, asked by mcjuniadiqbal, 7 months ago

Write the Java statement to display the following line as stated:
Sammy said, “\t is an escape sequence.”​

Answers

Answered by imtiyazallam
0

Answer:

System.out.println("Sammy said, \"\\t is an escape sequence.\"");

Attachments:
Answered by anindyaadhikari13
1

\star\:\:\:\sf\large\underline\blue{Question:-}

  • Write a java statement to display the following line.

\star\:\:\:\sf\large\underline\blue{Answer:-}

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