Computer Science, asked by AleenaAnnaRobin, 1 year ago

Predict the output icse 2018 computer applications question
System.out.println ("Incredible"+"\n"+"world");


adithya02: It is incredble (nextline) word

Answers

Answered by siddhartharao77
5
The Output is:

Incredible

world

Rajdeep11111: :)
Answered by Rajdeep11111
5
HELLO THERE!

In Java, "\n" is the Escape sequence which is termed as New Line Feed. This means that when "\n" is encountered, the cursor skips to the next line.

Hence, the output of the above code is:

Incredible 
world


#An ICSE student
#THANKS!
Similar questions