Learn Java

Java Tutorial

Our core Java programming tutorial is made for both students and people who already work in the field. Java is a programming language for computers that is object-oriented, uses classes, works in parallel, is secure, and can be used for many things. It is a strong technology that many people use.

What is it?

Java is both a way to write code and a platform. Java is a high-level programming language that is strong, based on objects, and safe.

In 1995, Java was created by Sun Microsystems, which is now a part of Oracle. People call James Gosling the father of Java. Oak was its name before Java. Since Oak was already a company, James Gosling and his team changed the name to Java.

Platform: A platform is any hardware or software environment in which a programme can run. Java is called a platform because it has a runtime environment (JRE) and an API.

Java Example

Let’s take a quick look at an example of how to programme in Java. On the next page, you can find a detailed explanation of the Hello Java example.



public class Simple{
public static void main(String args[]){
System.out.println(“Test Java Example”);


Sun says that Java is used on 3 billion devices. Java is used on a lot of different devices right now. Here are a few of them:

Desktop apps like Acrobat Reader, Media Player, Antivirus software, etc.
Web apps like java.com, coderazaa.com, and others.
Enterprise Applications, like those used in banks.
Mobile Embedded System
Robotics for Smart Cards
Games, etc.

Different kinds of Java apps

Most Java programming can be used to make one of these four kinds of apps:

1) Standalone Application

Standalone programmes are also called desktop programmes or window-based programmes. These are old programmes that we need to put on every computer. A Media player, an antivirus programme, etc., are all examples of stand-alone applications. Java’s AWT and Swing are used to make stand-alone programmes.

2) Web App

A web application is a programme that runs on the server and makes a dynamic page. At the moment, technologies like Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. are used to make Java web applications.

3) Business Applications

An enterprise application is a programme that is used by many people at the same time, like a banking programme. It has benefits like high-level security, load balancing, and clustering. EJB is a part of Java that is used to make enterprise applications.

4) Mobile Application

A mobile application is a programme that is made for mobile devices. At the moment, Android and Java ME are used to make apps for mobile devices.

Platforms and Editions of Java

There are 4 versions or platforms of Java, which are:

1) Java SE (Java Standard Edition)

It is a platform for writing code in Java. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It covers important topics like Object-Oriented Programming, Strings, Regular Expressions, Exceptions, Inner Classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collections, and more.

2) Java EE (Java Enterprise Edition)

It is a business platform that is mostly used to build web and business apps. The Java SE platform is what it is built on. It talks about Servlet, JSP, Web Services, EJB, JPA, and other things.

3) Java ME (Java Micro Edition)

It is a small platform that is just for mobile apps.

4) JavaFX

Rich Internet Applications can be made with it. It uses an API for making simple user interfaces.


To learn Java, you need to know how to programme in the C/C++ language.


Our tutorial on Java programming is made to help both newbies and experts.


We promise that there is nothing wrong with this Java tutorial. But if you find a mistake, please let us know through the contact form.

Scroll to Top