Challenger App

No.1 PSC Learning App

1M+ Downloads
What is the correct JavaScript syntax to write "Hello World"?

ASystem.out.println("Hello World")

Bprintf("Hello World")

Cdocument.write("Hello World")

Drespopnse.write("Hello World")

Answer:

C. document.write("Hello World")

Read Explanation:

the correct JavaScript syntax to write "Hello World" is - document.write("Hello World")


Related Questions:

The assembly language uses symbols instead of numbers known as:
Two main measures for the efficiency of an algorithm are:
Which of the following is a programming Language ?
Which computer language is used for Artificial Intelligence among the following?
Which of the following is not true in case art of public inheritance in C