Nikolas Charalambidis February 2016
Use a line separator
String story = "This is the story about a" + System.lineSeparator() + noun1;
\n for a new line
String story = "This is the story about a\n" + noun1;
Also you can use more
System.out.println(...) commands when you want to print it out.
System.out.println("This is the story about a"); // Print the string inside and add a linebreak afterwards
System.out.println(noun1); // Print the value of noun1 variable
All of them will give you the following result:
This is the story about a
"your story name"
More information is here: Java String new line