Category:Programmiersprachen

Category page

Hello World

// Hello World in Java

class HelloWorld {
  static public void main( String args[] ) {
    System.out.println( "Hello World!" );
  }
}
<!-- Hello World in PHP -->

<?php
  // Hello World in PHP
  echo "Hello, world!";
 ?>
// Hello World in C
#include <stdio.h>
 
 int main(void) {
    printf("Hello, world!\n");
    return 0;
 }
// Hello World in Obj-C
#import <Foundation/Foundation.h>
 
int main (int argc, const char * argv[]) {
   NSLog(@"Hello, world!");
   return 0;
}
BTW Hello World in LOLCODE

 HAI
     CAN HAS STDIO?
     VISIBLE "HAI WURLD!"
 KTHXBYE
// Hello World in Brainfuck

++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.

helloworldexample.net