Core Java Tutorial

Define Java

C vs C++ vs Java

Java Virtual Machine

Set Java Path

Java First Program

Java Data Types

Java Tokens

Java Keywords

Java Operators

Operator Precedence

Java Type Casting

Java Statement

Java - If statement

Java - Switch statement

Java - Loops

Java Jumping Statement

Java - Arrays 1D

Java - Arrays 2D

Java - Variable Size Array

Java Math Functions

Java - String

Java String Buffer

User-Defined Method

Java Method Overloading

Java Class & Object

Java Constructor

Java Inheritance

Java Interface

Java Packages

Java Multi-threading

Exceptional Handling

File Handling

Java Applets

Java DataBase Connectivity

Core Java Tutorial

Java is widely used programming language. There are many devices where Java is currently used. Some of them are as follows:

  1. Desktop Applications
  2. Web Applications
  3. Enterprise Applications
  4. Mobile Applications
  5. Smart Card
  6. Games
  7. Various electronic devices such as set-top box, toasters, microwave ovens, remote controls and other electronic machines.

Types of Java Applications

There are mainly 4 type of applications that can be created using Java programming:

  1. Standalone Application : It is also known as desktop application or window-based application. An application that we need to install on every machine such as media player, anti-virus etc. AWT and Swing are used in Java for creating standalone applications.
  2. Web Application : An application that runs on the server side and creates dynamic page, is called web application. Currently, Servlet, JSP, Struts, etc. technologies are used for creating web applications in Java.
  3. Enterprise Application : An application that is distributed in nature, such as banking applications etc. It has the advantage of high level security, load balancing and clustering. In Java, EJB is used for creating enterprise applications.
  4. Mobile Application : An application that is created for mobile devices. Currently Android and Java ME are used for creating mobile applications.

History of Java

Java history is interesting to know. The history of Java starts from Green Team. Java team members (also known as Green Team), initiated a revolutionary task to develop a language for digital devices such as set-top boxes, televisions etc.

There are given the major point that describes the history of Java.

  1. James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. The small team of sun engineers called Green Team.
  2. Originally designed for small, embedded systems in electronic appliances like set-top boxes.
  3. Firstly, it was called "Greentalk" by James Gosling and file extension was .gt.
  4. After that, it was called Oak and was developed as a part of the Green project.
  5. Why Oak? Oak is a symbol of strength and chosen as a national tree of many countries like U.S.A., England, Poland, Ireland, Germany, Romania etc.
  6. In 1995, Oak was renamed as "Java" because it was already a trademark by Oak Technologies.
  7. Why had they chosen Java name for Java language? The team gathered to choose a new name. The suggested words were "dynamic", "revolutionary", "Silk", "jolt", "DNA" etc. They wanted something that reflected the essence of the technology: revolutionary, dynamic, lively, cool, unique, and easy to spell and fun to say.
  8. According to James Gosling "Java was one of the top choices along with Silk". Since Java was so unique, most of the team members preferred Java.
  9. Java is an island of Indonesia where first coffee was produced (called Java coffee).
  10. JDK 1.0 released in(January 23, 1996).

Java is just a name not an acronym.

Updated: 24-Mar-20