App Logo

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:

ഒരു HTML പേജിൽ ഒരു ചിത്രം ചേർക്കാൻ ഉപയോഗിക്കുന്ന HTML ടാഗ് ആണ്
What is an abstract class in OOP?
What does the command prompt uses?
Java is an example of a(n) __________.
Which of the following data structure is linear type?