Home Segments Top Top Previous Next

43: Mainline

In Java, whenever quotation marks delimit a sequence of characters, those characters are the contents of a string. In the sample program, there are two display statements, the first of which displays a string.

                   *-- String 
                   | 
                   v 
                 ----------------------------- 
System.out.print("The rating of the movie is ");