Our core Java programming tutorial is designed for students and working professionals. Java is an object-oriented, class-based, concurrent, secure, and versatile programming language. This is a widely used, reliable, cutting-edge technology.
What is Java?
Java is a programming language and platform. Java is the language of programs that are high-quality, robust, object-oriented, and secure.
Java was founded by Sun Microsystems (now an Oracle service) in 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 Oak's name to Java.
Platform: Any hardware or software platform on which the system operates, is known as the speaker. Since Java has a working time environment (JRE) and API, it is called a platform.
Example
class Simple{
public static void main(String args[]){
System.out.println("Hello Java");
}
}
Application
According to Sun, there are more than 3 billion devices that 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
Stand-alone apps, also known as an application or as a window in the app. This is the "traditional" software that must be installed on each computer. Examples of device applications, media players, antivirus programs, etc.). AWT and Swing are used in Java for creating offline applications.
2) Web Application
An application that is running on the server, and a dynamic web page, which is the name of the Web Application. At the moment, to create a web application in Java using Servlet, JSP, Struts, Spring, Hibernate, JSF, etc.). technology.
3) Enterprise Application
An application that is distributed in nature, such as banking applications, etc. it is referred to as an enterprise software application. It has all the advantages of a high level of security, load balancing, and clustering. In Java, EJB is used for creating enterprise applications.
4) Mobile Application
The app is built for mobile devices and is the app you're in. Currently, Android and Java ME are used for creating mobile applications.
Java Platforms / Editions
There are mainly 4 platforms or editions of Java:
1) Java SE (Java Standard Edition)
It is a Java platform. It includes Java programming Apis such as java.lang, java.io, java.net, java.util, java.sql, java.math, etc. it contains the basic topics like Oops, Strings, Regex, Exception, and the 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 for the production of websites and enterprise applications. It is built on the Java platform. Includes topics like Servlet, JSP, Web Services, EJB, JPA, etc.
3) Java ME (Java Micro Edition)
This is a micro platform, which mainly will be used for the creation of mobile apps.
4) JavaFX
It will be used to create rich web-based applications. Make use of a lightweight user interface API.