KaiquanMah's picture
System.out.print("<some str no newline>");
7349271 verified
raw
history blame
529 Bytes
"""
Complete the following program body so that it prints the complete sentence:
Java-programming is surprisingly easy.
Note that the program has a print statement before and after the part of the program to be written.
"""
import java.util.Random;
public class Test{
public static void main(String[] args){
final Random r = new Random();
System.out.print("Java-programming");
System.out.print(" is surprisingly ");
System.out.println("easy.");
}
}