Computer Science, asked by kalyanimeda1985, 7 hours ago

System.out.println("APPLE" +"\t" +"Banana" +"\n"+"Fruits Names"); What is the output of the given statement?

No rubbish answers​

Answers

Answered by shrihankp
0

Answer:

APPLE Banana

Fruits Names

Explanation:

\t is the escape sequence for "Tab" and typically, a tab is displayed equivalent to eight contiguous spaces.

\n is the escape sequence for "Newline".

Note that at the end (after Fruits Names) there must be a Newline, because the function println always adds a Newline at the end of the output.

Similar questions