Programming languages - "Hello World."

Can you identify the programming language used to print these "Hello World."?
Quiz by alexm72
Rate:
Last updated: November 1, 2015
You have not attempted this quiz yet.
First submittedNovember 1, 2015
Times taken1,850
Average score60.0%
Rating4.36
Report this quizReport
2:30
0
 / 10 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Hint
Answer
System.out.println("Hello World.");
Java
std::cout << "Hello, new world!\n";
C++
echo 'Hello World.';
PHP
Console.WriteLine("Hello World.");
C#
NSLog (@"Hello World.");
Objective C
puts 'Hello World.'
Ruby
alert('Hello, World!')
JavaScript
print "Hello World."
Python
Sub Main()

MsgBox("Hello World.")

End Sub
Visual Basic
printf("hello, world\n");
C
+1
Level 45
Dec 16, 2018
Great quiz!
+1
Level 64
Nov 15, 2019
print "Hello World." works in BASIC, too.
+8
Level 71
Nov 10, 2021
Python, without a qualifier, now unambiguously refers to Python 3; in Python 3, "print" is a function and the example is incorrect. So the example should be modified.

Goodness knows in how many languages print("Hello World.") is valid.

+3
Level 34
Sep 6, 2023
In Python print is a function so you need the parentheses
+1
Level 68
Nov 23, 2023
Sure, the printed string doesn't matter but it's funny the hints are inconsistent. Hello World. Hello, new world! Hello, World! hello, world