Which is the output of the following statements?

System.out.print("Hello ");
System.out.println("World");

a. Hello World
b. HelloWorld
c. Hello
World
d. World
Hello

a. Hello World

Computer Science & Information Technology

You might also like to view...

When creating a string object, if a character array and two integers are passed to the constructor, then the created string consists of:

a) the characters of the array from the first value for as many characters as the second value b) the characters of the array from the first value to the second value c) all of the characters except those from the first value to the second value d) there is no such constructor

Computer Science & Information Technology

____ links specify a path from the current page.

A. Absolute B. Document relative C. Site root relative D. Server relative

Computer Science & Information Technology