Akdora’s Blog

Programming, Oracle, Life, Fun

~~hello world~~ January 6, 2007

Filed under: Non-technical — Akdora @ 2:07 pm

1) SQL:

select ‘Hello World’ from dual;


2)Oracle PL/SQL stored procedure:

create or replace procedure hello_world
begin
  dbms_output.put_line('Hello World');
end;

3) Java:

class HelloWorld {
        public static void main (String args[]) {
              System.out.print("Hello World ");     
        }
}

4) Javascript:

<TITLE>
Hello World in JavaScript
</TITLE>
<SCRIPT>
    document.write ("Hello, world!")
</SCRIPT>

5) c#

class HelloWorld
{ 
  static void Main () {  
     System.Console.Write("Hello World!");
  } 

}


5) c++

#include <iostream>
int main()
{
    std::cout << "Hello, world!n";

}

 
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s