function helloWorld() {
alert("Hello, World!");
}
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
#include <stdio.h>
/* Hello */
int main(void){
printf("Hello, World!");
return 0;
}
// 'Hello World!' program
#include <iostream>
int main(){
std::cout << "Hello World!" << std::endl;
return 0;
}
using System;
class HelloWorld{
public static void Main(){
System.Console.WriteLine("Hello, World!");
}
}
<html>
<body>
Hello, World!
</body>
</html>
package main
import fmt "fmt"
func main()
{
fmt.Printf("Hello, World!\n");
}
object HelloWorld with Application {
Console.println("Hello, World!");
}
<?php
echo 'Hello, World!';
?>