Java Programming





 What is
 Java is a programming language and a platform.
  Java is a high level, robust, object-oriented and secure programming language

Platform: Any hardware or software environment in which a program runs, is known as   a platform.

Since Java has a runtime environment (JRE) and API, it is called a platform.

Example 

 //file name sample.java
  import java.io*;
  public class sample {
  public static void main(String args[]){
  System.out.println("Hello java!");
       }
       }
  
   

<pre>              




Post a Comment

0 Comments