a)Writing a Program
//A Very Simple Example class Demo { public static void main(String[] args){ System.out.println("it's Demo"); } }
b) Compiling the Program
javac ExampleProgram.java
c) Running the programm
java demo (Note:- use here class name which have main method)
No comments:
Post a Comment