Answers for "java next int newline"

9

java string next line

// its rn
String a = "Hello, "
String b = "there!"
System.out.println(a+b);//returns Hello, there
System.out.println(a+"rn"+b);//returns Hello, 
//there! //it will be on the next line!
Posted by: Guest on July-08-2020
1

java n

n means insert a newline in the text.
  
  System.out.println("Hello n world");
//output: 
//Hello 
//world
Posted by: Guest on October-18-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language