Which of the following statement displays Hello World?

a. System.out.printf("%2s", "Hello " "World");
b. System.out.printf("%s %s", "Hello", "World");
c. System.out.printf("%s%s", "Hello, World");
d. System.out.printf("s% s%", "Hello", "World");

b. System.out.printf("%s %s", "Hello", "World");

Computer Science & Information Technology

You might also like to view...

The ________ Form tool is used when you want to build a form by adding fields one at a time or arrange them in a different order

Fill in the blank(s) with correct word

Computer Science & Information Technology

To paste a photo, it must first be placed in the computer's ________

Fill in the blank(s) with correct word

Computer Science & Information Technology