public class HelloWorld
{
public static void main(String[] args)
{
System.out.println(“HelloWorld!”);
}
}
#include <stdio.h>
int main()
{
printf(“hello world”);
return 0;
}
#include <stdafx.h>
#include <iostream>
using namespace std;
int main()
{
cout<<“hello world”<<endl;
return 0;
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(“Hello World!”);
Console.ReadLine();
}
}
}
Module MainFrm
Sub Main()
System.Console.WriteLine(“Hello, World!”)
End Sub
End Module
package main
import “fmt”
func main() {
fmt.Print(“Hello, World!”)
}
<html>
<body>
<p>
Hello world!
</p>
</body>
</html>
欢迎补充