
Quick Contact
Java Tutorial
- What is Java?
- History of Java
- Hello Java Program
- Features of Java
- Basic Syntax
- Java Setup
- Data Types in Java
- Java Variables
- Operators in Java
- JVM
- Java If-else Statement
- Switch Case Statement
- Java Loops
- Do-While Loop
- Java While Loop
- Continue Statement
- Break Statement in Java
- Constructors in Java
- Oops Concept in Java
- Features of OOPs
- Inheritance
- Exeception handeling
- Aggregation (HAS-A relationship) in Java
- Method Overriding in Java
- Method Overloading
- Java Static Keyword
- Java This Keyword
- Java Final Keyword
- Polymorphism
- Static Binding and Dynamic Binding
- Abstract class in Java
- Access Modifiers in Java
- Difference between abstract class and interface
- Interface in Java
- Garbage Collection in Java
- Java Package
- Encapsulation
- Serialization and Deserialization in Java
- Java Inner Classes
- Java Applets
- Multithreading in Java
- Thread Priorities in Java
- Thread Creation
- Inter Thread Communication
- Wrapper Classes in Java
- Java Input Output
- Java AWT Introduction
- Java Layout Manager
- Java Layout Policy
- Java AWT Events
- Collection Framework
- Collection Framework List Interface
- Swing in Java
- Swing Utility Classes
- Swing Layout Managers
- Java JDBC
What is Java
Java is a programming language. It is a platform. Java is a high level, robust, object-oriented and secure programming language.
Java was created by Sun Microsystems (which is presently the auxiliary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was at that point an enrolled organization, so James Gosling and his group changed the Oak name to Java.
When we talk about platform, then it is a hardware or software environment where the program runs. Java has JRE (Java Runtime environment) and API; it is called platform.
Java Example
Java programming example.

Compile by:
javac Hello.java
Run by:
java Hello
Applications
There are 3 billion devices run Java according to Sun Microsystem. Many tools currently where Java is used. Some of them are as per the following:
- Desktop Applications, for example, acrobat reader, media player, antivirus, etc.
- Web Applications, for example, irctc.co.in, ducatindia.com, etc.
- Enterprise Applications, for example, banking applications.
- Mobile
- Installed System
- Smart Card
Robotics
Games, and so on.
Types of Java Applications
There are mainly four types of Applications that can be created using Java programming:
- Standalone Application
- Web Application
- Enterprise Application
- Mobile Application
Standalone Application
In standalone applications is the traditional software which we need to install on every machine. A standalone application example is Media player, antivirus, etc. For creating standalone applications, we use AWT and Swing. Standalone applications are also known as a window-based application or desktop applications.
Web Application
Those applications which run on the server-side and create a dynamic page is called web applications. For creating a web application in Java currently, technologies are Servlet, JSP, Struts, Spring, Hibernate, JSF, and many more.
Enterprise Application
An application that is shared in nature, for example, banking applications is called enterprise application. It has advantages of high-level security, load adjusting and clustering. For creating enterprise applications, we use EJB.
Mobile Application
Those applications which are created for mobile devices is called mobile application. For developing mobile applications currently, we use Android and Java ME.
Java Platforms / Java Editions
There are four platform or editions of Java:
- Java SE (Java Standard Edition)
- Java EE (Java Enterprise Edition)
- Java ME (Java Micro Edition)
- Java FX
Java SE (Java Standard Edition)
Java SE is a programming platform. It introduces Java programming APIs such as Java. lang, java.io, java.net, java.util, java.sql, java.math, etc. It introduces core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.
Java EE (Java Enterprise Edition)
Java EE is an enterprise platform; it is used to develop web and enterprise applications. It is based on the highest point of the Java SE platform. It introduces topics like Servlet, JSP, Web Services, EJB, JPA, etc.
Java ME (Java Micro Edition)
Java ME is a micro platform. It is used to develop a mobile application.
Java FX
Java FX uses a light-weight user interface API. It is used to develop rich internet applications.
Enroll Yourself in Live Classes For Java Training.