Introduction

Our Core Java programming tutorial is designed for students and experts. Java is a general-purpose, safe, concurrent, and object-oriented computer programming language. 


What is Java

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


Java was developed by Sun Microsystem in 1995 by James Gosling is known as the father of Java. Before Java, his name was Oak. Since Oak was already a registered company, James Gosling and his team became Oak to Java.


Example:

Simple.java


class Simple {

    public static void main(String args[]) {
        System.out.println("Hello World!");
    }
}

Ouput:

Hello World!


Application

According to Sun, 3 billion gadgets run Java. Some of them are as follows:

  • Desktop Applications such as acrobat reader, media player, antivirus, etc.
  • Web Applications
  • Enterprise Applications such as banking applications.
  • Mobile
  • Embedded System
  • Smart Card
  • Robotics
  • Games, etc.



Java Editions

There are 4 editions of Java:

  1. Java SE (Java Standard Edition)  -  I/O Stream, Networking, AWT, Swing etc.
  2. Java EE (Java Enterprise Edition) -   Servlet, JSP, Web Services, EJB, JPA, etc.
  3. Java ME (Java Micro Edition) - Used to develop mobile applications.
  4. JavaFX -  internet applications & light-weight user interface API.


Prerequisite

Basic knowledge of C/C++ programming.