Wednesday 24 January 2018

Introduction To Java Programming

What is Java

Java is a programming language.

Java is strongest and widely used computer languages.

Java is platform independent so it runs on different operating system like windows, Linux, UNIX etc.

Java is a high level, secured and object-oriented programming language.

History of Java:

Java was developed by James Ghosling, Patrick Naughton, Mike Sheridan at Sun Microsystems Inc. in 1991.The initial name was Oak but it was renamed to Java in 1995 and later acquired by Oracle Corporation.

Example:

class Demo{  

  public static void main(String args[]){ 
   System.out.println("Welcome to LearningPoint92");  
    }  
}  

Output:

Welcome to LearningPoint92

History of Java Versions: 

  • JDK Alpha and Beta (1995)
  • JDK 1.0 (23rd Jan, 1996)
  • JDK 1.1 (19th Feb, 1997)
  • J2SE 1.2 (8th Dec, 1998)
  • J2SE 1.3 (8th May, 2000)
  • J2SE 1.4 (6th Feb, 2002)
  • J2SE 5.0 (30th Sep, 2004)
  • Java SE 6 (11th Dec, 2006)
  • Java SE 7 (28th July, 2011)
  • Java SE 8 (18th March, 2014)

Note:

Current version of Java is Java SE 8

No comments:

Post a Comment

apply function in R

1) apply function: It takes 3 arguments matrix,margin and function.. Example: m<-matrix(c(1,2,3,4),nrow=2,ncol=2) m #1 indicates it is ap...