This is Simple Java Program
PROGRAM:
- class Simple{
- public static void main(String args[]){
- System.out.println("Hello Java");
- }
- }
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