Our core Java programming tutorial is designed for students and working professionals. Java is an object-oriented, class-based, concurrent, secured and general-purpose computer-programming language. It is a widely used robust technology.What is Java?Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language.Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the name from Oak to Java.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.Java ExampleLet's have a quick look at Java programming example. A detailed description of Hello Java example is available in next page.Simple.javaclass Simple{ public static void main(String args[]){ System.out.println("Hello Java"); } } Test it NowApplicationAccording to Sun, 3 billion devices run Java. There are many devices where Java is currently used. Some of them are as follows:Desktop Applications such as acrobat reader, media player, antivirus, etc.Web Applications such as irctc.co.in, javatpoint.com, etc.Enterprise Applications such as banking applications.MobileEmbedded SystemSmart CardRoboticsGames, etc.Types of Java ApplicationsThere are mainly 4 types of applications that can be created using Java programming:1) Standalone ApplicationStandalone applications are also known as desktop applications or window-based applications. These are traditional software that we need to install on every machine. Examples of standalone application are Media player, antivirus, etc. AWT and Swing are used in Java for creating standalone applications.2) Web ApplicationAn application that runs on the server side and creates a dynamic page is called a web application. Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating web applications in Java.3) Enterprise ApplicationAn application that is distributed in nature, such as banking applications, etc. is called an enterprise application. It has advantages like high-level security, load balancing, and clustering. In Java, EJB is used for creating enterprise applications.4) Mobile ApplicationAn application which is created for mobile devices is called a mobile application. Currently, Android and Java ME are used for creating mobile applications.Java Platforms / EditionsThere are 4 platforms or editions of Java:1) Java SE (Java Standard Edition)It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.2) Java EE (Java Enterprise Edition)It is an enterprise platform that is mainly used to develop web and enterprise applications. It is built on top of the Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, JPA, etc.3) Java ME (Java Micro Edition)It is a micro platform that is dedicated to mobile applications.4) JavaFXIt is used to develop rich internet applications. It uses a lightweight user interface API.PrerequisiteTo learn Java, you must have the basic knowledge of C/C++ programming language.AudienceOur Java programming tutorial is designed to help beginners and professionals.ProblemWe assure that you will not find any problem in this Java tutorial. However, if there is any mistake, please post the problem in the contact form.Do You Know?What is the difference between JRE and JVM?What is the purpose of JIT compiler?Can we save the java source file without any name?Why java uses the concept of Unicode system?What will we learn in Basics of Java?History of JavaFeatures of JavaHello Java ProgramProgram InternalHow to set path?Difference between JDK,JRE and JVMInternal Details of JVMVariable and Data TypeUnicode SystemOperatorsNext TopicHistory of JavaNext →
--
Our core Java programming tutorial is designed for students and working professionals. Java is an [object-oriented](https://www.javatpoint.com/java-oops-concepts), class-based, concurrent, secured and general-purpose computer-programming language. It is a widely used robust technology.
What is Java?
Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language.
Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the name from Oak to Java.
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.
Java Example
Let's have a quick look at Java programming example. A detailed description of Hello Java example is available in next page.
Simple.java
class Simple{
public static void main(String args[]){
System.out.println("Hello Java");
}
}
[Test it Now](https://compiler.javatpoint.com/opr/test.jsp?filename=Simple)
Application
According to Sun, 3 billion devices run Java. There are many devices where Java is currently used. Some of them are as follows:
Desktop Applications such as acrobat reader, media player, antivirus, etc.
Web Applications such as irctc.co.in, javatpoint.com, etc.
Enterprise Applications such as banking applications.
Mobile
Embedded System
Smart Card
Robotics
Games, etc.
Types of Java Applications
There are mainly 4 types of applications that can be created using Java programming:
1) Standalone Application
Standalone applications are also known as desktop applications or window-based applications. These are traditional software that we need to install on every machine. Examples of standalone application are Media player, antivirus, 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 a dynamic page is called a web application. Currently, [Servlet](https://www.javatpoint.com/servlet-tutorial), [JSP](https://www.javatpoint.com/jsp-tutorial), [Struts](https://www.javatpoint.com/struts-2-tutorial), [Spring](https://www.javatpoint.com/spring-tutorial), [Hibernate](https://www.javatpoint.com/hibernate-tutorial), [JSF](https://www.javatpoint.com/jsf-tutorial), 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. is called an enterprise application. It has advantages like high-level security, load balancing, and clustering. In Java, [EJB](https://www.javatpoint.com/ejb-tutorial) is used for creating enterprise applications.
4) Mobile Application
An application which is created for mobile devices is called a mobile application. Currently, Android and Java ME are used for creating mobile applications.
Java Platforms / Editions
There are 4 platforms or editions of Java:
1) Java SE (Java Standard Edition)
It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, [String](https://www.javatpoint.com/java-string), Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.
2) Java EE (Java Enterprise Edition)
It is an enterprise platform that is mainly used to develop web and enterprise applications. It is built on top of the Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, [JPA](https://www.javatpoint.com/jpa-tutorial), etc.
3) Java ME (Java Micro Edition)
It is a micro platform that is dedicated to mobile applications.
4) JavaFX
It is used to develop rich internet applications. It uses a lightweight user interface API.
Prerequisite
To learn Java, you must have the basic knowledge of C/C++ programming language.
Audience
Our Java programming tutorial is designed to help beginners and professionals.
Problem
We assure that you will not find any problem in this Java tutorial. However, if there is any mistake, please post the problem in the contact form.
Do You Know?
[What is the difference between JRE and JVM?](https://www.javatpoint.com/difference-between-jdk-jre-and-jvm)
[What is the purpose of JIT compiler?](https://www.javatpoint.com/internal-details-of-jvm)
[Can we save the java source file without any name?](https://www.javatpoint.com/internal-details-of-hello-java-program)
[Why java uses the concept of Unicode system?](https://www.javatpoint.com/unicode-system-in-java)
What will we learn in Basics of Java?
[History of Java](https://www.javatpoint.com/history-of-java)
[Features of Java](https://www.javatpoint.com/features-of-java)
[Hello Java Program](https://www.javatpoint.com/simple-program-of-java)
[Program Internal](https://www.javatpoint.com/internal-details-of-hello-java-program)
[How to set path?](https://www.javatpoint.com/how-to-set-path-in-java)
[Difference between JDK,JRE and JVM](https://www.javatpoint.com/difference-between-jdk-jre-and-jvm)
[Internal Details of JVM](https://www.javatpoint.com/internal-details-of-jvm)
[Variable and Data Type](https://www.javatpoint.com/variable-datatype)
[Unicode System](https://www.javatpoint.com/unicode-system-in-java)
[Operators](https://www.javatpoint.com/operators-in-java)
Next Topic[History of Java](https://www.javatpoint.com/history-of-java)
[Next →](https://www.javatpoint.com/history-of-java)
Youtube For Videos Join Our Youtube Channel: [Join Now](https://bit.ly/2FOeX6S)
Feedback
Send your Feedback to feedback@javatpoint.com
Help Others, Please Share
facebook twitter pinterest
Learn Latest Tutorials
[Splunk](https://www.javatpoint.com/splunk) tutorial
Splunk
[SPSS](https://www.javatpoint.com/spss) tutorial
SPSS
[Swagger](https://www.javatpoint.com/swagger) tutorial
Swagger
T-SQL tutorial
[Transact-SQL](https://www.javatpoint.com/t-sql)
[Tumblr](https://www.javatpoint.com/tumblr) tutorial
Tumblr
React tutorial
[ReactJS](https://www.javatpoint.com/reactjs-tutorial)
[Regex](https://www.javatpoint.com/regex) tutorial
Regex
Reinforcement learning tutorial
[Reinforcement Learning](https://www.javatpoint.com/reinforcement-learning)
[R Programming](https://www.javatpoint.com/r-tutorial) tutorial
R Programming
[RxJS](https://www.javatpoint.com/rxjs) tutorial
RxJS
[React Native](https://www.javatpoint.com/react-native-tutorial) tutorial
React Native
[Python Design Patterns](https://www.javatpoint.com/python-design-pattern)
Python Design Patterns
[Python Pillow](https://www.javatpoint.com/python-pillow) tutorial
Python Pillow
[Python Turtle](https://www.javatpoint.com/python-turtle-programming) tutorial
Python Turtle
[Keras](https://www.javatpoint.com/keras) tutorial
Keras
Preparation
[Aptitude](https://www.javatpoint.com/aptitude/quantitative)
Aptitude
Logical [Reasoning](https://www.javatpoint.com/reasoning)
Reasoning
[Verbal Ability](https://www.javatpoint.com/verbal-ability)
Verbal Ability
[Interview Questions](https://www.javatpoint.com/interview-questions-and-answers)
Interview Questions
Company Interview Questions
[Company Questions](https://www.javatpoint.com/company-interview-questions-and-recruitment-process)
Trending Technologies
[Artificial Intelligence](https://www.javatpoint.com/artificial-intelligence-ai)
Artificial Intelligence
[AWS](https://www.javatpoint.com/aws-tutorial) Tutorial
AWS
[Selenium](https://www.javatpoint.com/selenium-tutorial) tutorial
Selenium
[Cloud Computing](https://www.javatpoint.com/cloud-computing)
Cloud Computing
[Hadoop](https://www.javatpoint.com/hadoop-tutorial) tutorial
Hadoop
[ReactJS](https://www.javatpoint.com/reactjs-tutorial) Tutorial
ReactJS
[Data Science](https://www.javatpoint.com/data-science) Tutorial
Data Science
[Angular 7](https://www.javatpoint.com/angular-7-tutorial) Tutorial
Angular 7
[Blockchain](https://www.javatpoint.com/blockchain-tutorial) Tutorial
Blockchain
[Git](https://www.javatpoint.com/git) Tutorial
Git
[Machine Learning](https://www.javatpoint.com/machine-learning) Tutorial
Machine Learning
[DevOps](https://www.javatpoint.com/devops) Tutorial
DevOps
B.Tech / MCA
[DBMS](https://www.javatpoint.com/dbms-tutorial) tutorial
DBMS
[Data Structures](https://www.javatpoint.com/data-structure-tutorial) tutorial
Data Structures
[DAA](https://www.javatpoint.com/daa-tutorial) tutorial
DAA
[Operating System](https://www.javatpoint.com/operating-system)
Operating System
[Computer Network](https://www.javatpoint.com/computer-network-tutorial) tutorial
Computer Network
[Compiler Design](https://www.javatpoint.com/compiler-tutorial) tutorial
Compiler Design
[Computer Organization](https://www.javatpoint.com/computer-organization-and-architecture-tutorial) and Architecture
Computer Organization
[Discrete Mathematics](https://www.javatpoint.com/discrete-mathematics-tutorial) Tutorial
Discrete Mathematics
[Ethical Hacking](https://www.javatpoint.com/ethical-hacking)
Ethical Hacking
[Computer Graphics](https://www.javatpoint.com/computer-graphics-tutorial) Tutorial
Computer Graphics
[Software Engineering](https://www.javatpoint.com/software-engineering)
Software Engineering
html tutorial
[Web Technology](https://www.javatpoint.com/html-tutorial)
[Cyber Security](https://www.javatpoint.com/cyber-security-tutorial) tutorial
Cyber Security
[Automata](https://www.javatpoint.com/automata-tutorial) Tutorial
Automata
C Language tutorial
[C Programming](https://www.javatpoint.com/c-programming-language-tutorial)
[C++](https://www.javatpoint.com/cpp-tutorial) tutorial
C++
[Java](https://www.javatpoint.com/java-tutorial) tutorial
Java
[.Net](https://www.javatpoint.com/net-framework) Framework tutorial
.Net
[Python](https://www.javatpoint.com/python-tutorial) tutorial
Python
List of [Programs](https://www.javatpoint.com/programs-list)
Programs
[Control System](https://www.javatpoint.com/control-system-tutorial)s tutorial
Control System
[Data Mining](https://www.javatpoint.com/data-mining) Tutorial
Data Mining
[Data Warehouse](https://www.javatpoint.com/data-warehouse) Tutorial
Data Warehouse
Javatpoint Services
Feedback
Help Others, Please Share
Javatpoint Services