My First Java Program


Java is a high-level, object-oriented, class-based, concurrent, and general-purpose computer programming language. Java has a runtime environment (JRE) and API (together they are called a platform, which is any hardware or software environment in which a program runs). Below is a Java example which prints the text such as “Hello World” entered by users to the standard output:

MyFirstClass.java (a hello-world program)

 public class MyFirstClass {
   public static void main( String args[ ] ) {
     System.out.println( "" );
   }
 }
       



      Parallel lines have so much in common. It’s a shame they’ll never meet.