class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
console.log('Hello, World!');
fun main(args : Array<String>) {
println("Hello, World!")
}
#include<stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
#include <iostream>
int main() {
std::cout << "Hello, World!";
return 0;
}
fn main() {
println!("Hello, World!");
}
namespace HelloWorld
{
class Hello {
static void Main(string[] args)
{
System.Console.WriteLine("Hello, World!");
}
}
}
<!DOCTYPE html>
<html>
<head>
<title>HelloWorld</title>
</head>
<body>
<p>Hello, World!</p>
</body>
</html>