class HelloWorldApp
{
method public static void main (java.lang.String[])
max_stack 2
{
getstatic java.io.PrintStream java.lang.System.out
ldc "Hello World!"
invokevirtual void java.io.PrintStream.println(java.lang.String)
return
}
}
Archive for the 'Hello World!' Category
Hello World! (Java Bytecode)
Published August 2, 2008 Hello World! , Java 0 CommentsTags: bytecode, Hello World!, Java, java bytecode
title Hello World Program dosseg .model small .stack 100h .data hello_message db 'Hello, World!',0dh,0ah,'$' .code main proc    mov   ax,@data    mov   ds,ax    mov   ah,9    mov   dx,offset hello_message    int   21h    mov   ax,4C00h    int   21h main endp end  main
Hello World in many programming languages
Published February 17, 2008 Code Snippets , Hello World! , Links , Programming 0 CommentsThis is one of the best pages with “Hello World!” that I have found so far.
#include <iostream>
int main() {
std::cout << "Hello world\n";
return 0;
}
program hello;
begin
 writeln('Hello world!');
end.
public class HelloWorld {
   public static void main(String[] args){
       System.out.println("Hello, world.");
   }
}
Imports System
Public Shared Sub Main()
 Console.WriteLine("Hello World!"
End Sub
.method public static void Main() cil managed
{ Â Â Â
     .entrypoint   Â
     .maxstack 8   Â
      ldstr "Hello world!."   Â
      call void [mscorlib]System.Console::WriteLine(string)   Â
     ret
}
#include <stdio.h>
int main(void)
{
      printf("Hello, World!\n");
      return 0;
}
using System;
class Program
{
         public static Main(string[] args)
         {
                  Console.WriteLine("Hello, World!");
        }
}
Latest comments