Tuesday 19 January 2016

How to write Simple HELLO Program in Java?

This is Simple Java Program


PROGRAM:

        1. class Simple{  
        2.     public static void main(String args[]){  
        3.      System.out.println("Hello Java");  
        4.     }  
        5. }  


OUTPUT:

Hello Java

Process:

Use NetbansIDE or EclipseIDE and run Program.

Another is

1. Open Notepad Write code
2. Save file as hello.java
3. open CMD(Command Prompt) 
4. type cd\ and click enter
5. type javac hello.java and click enter
6. type java hello and click enter
7. you will see the output on CMD

 

Thank you




 





Sunday 17 January 2016

How to Install Java?

Java is a general-purpose computer programming language

  • JDK 1.0 (January 21, 1996)
  • JDK 1.1 (February 19, 1997)
  • J2SE 1.2 (December 8, 1998)
  • J2SE 1.3 (May 8, 2000)
  • J2SE 1.4 (February 6, 2002)
  • J2SE 5.0 (September 30, 2004)
  • Java SE 6 (December 11, 2006)
  • Java SE 7 (July 28, 2011)
  • Java SE 8 (March 18, 2014)

this version you can install from click here!



you can also download essential software

1) Eclipse IDE

2) MySql (Back-end)