First Program
First program in java
First program in java |
you should have IDE mean NetBeans or eclipse with compiler.
copy the code in to the java empty file in IDE and click Run the program
/* This is a simple Java program. Call this file "Example.java". */ class Example { // Your program begins with a call to main(). public static void main(String args[]) { System.out.println("This is a simple Java program."); } } |