国内版
国际版
Hello, World!
C : #include <stdio.h> void main() { printf("Hello, World!"); } C++ : #include <iostream> using namespace std; int main() { cout<<"Hello, World!"; return 0; } Python : print "Hello, World!" JAVA: 자바는 반드시 클래스명을 Main으로 작성해야 합니다!!(중요) import java.util.Scanner; public class Main { public static void main(String[] args){ System.out.println("Hello, World!"); } } Pascal : program main; begin write('Hello, World!'); end. PHP: <?php fprintf(STDOUT,"Hello, World!"); ?> Perl: print "Hello World!"; Bash: echo "Hello, World!" C#: using System; public class Program { public static void Main() { Console.WriteLine("Hello, World!"); } }