public class HelloWorld { public static void main(String[] args) { String str = "Hello World!"; System.out.println("The string is: " + str); } }