What is the meaning of \\r carriage return and /f form feed in Java? Can anyone give a small example of when we have to use these types of symbols?
\\r
/f
\f is similar to \n, the difference is that the new line gets indented.
\f
\n
eg: "hello it was \f great meeting you"
it gives output:
hello it was great meeting you