A character went before by an oblique punctuation line () is known as getaway succession.
There are all out 8 getaway groupings in Java which have unique importance to the compiler.
At the point when we utilize a break grouping in print explanation then the compiler translates it in like manner.
All the departure groupings with program model are given underneath.
Escape Sequence | Description |
t | It will embed a tab in the content now. |
b | It will embed a delete in the content now. |
n | It will embed a newline in the content now. |
r | It will embed a carriage return in the content now. |
f | It will embed a formfeed in the content now. |
‘ | It will embed a formfeed in the content now. |
“ | It will embed a twofold statement character in the content now. |
It will embed an oblique punctuation line character in the content now. |
class EscapeSequences
{
public static void main(String...s)
{
System.out.print("tJustTechReview");
System.out.print("nJustTechReview");
System.out.print("nJustTechReview");
System.out.print("nJustTechReview");
System.out.print("'JustTechReview'");
System.out.print("n"JustTechReview"");
System.out.print("nfJustTechReview");
System.out.print("nJustTechReview");
}
}
Output