First Program in Java
1 |
public class FirstProgram { <br/> public static void foremost( String [] args ) <br/> { <br/> System.out.print (“Java Program”); <br/> System.out.print (“My Program”); <br/> } <br/> } <br/> |
C: javac FirstProgram.java
C:java FirstProgram
Java Program My Program
1 |
public class FirstProgram { <br/> public static void foremost( String [] args ) <br/> { <br/> System.out.print (“Java Program”); <br/> System.out.println (“My Program”); <br/> } <br/> } <br/> |
C: javac FirstProgram.java
C:java FirstProgram
Java Program
My Program
Questions for Follow :
What are the benefits of Java?
What’s the distinction between an interpreter and a compiler?
Outline Class and Object?
What are totally different Java applications.
Supply projectgeek.com