Skip to main content

JAVA TUTORIAL


Java Tutorial


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 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");  

    }  

}  



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, JSP, Struts, Spring, Hibernate, JSF, 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 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, 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) 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.



Popular posts from this blog

How to bypass Android Lock Screen Without Reset

 Can you bypass Android lock screen without losing? Wondering how to bypass Android lock screen without factory reset? This post is going to share you three ways of bypassing Android lock screen without data lossing. Let’s check it.  Click here to claim free gift 🧧🎁 card for free. Just a minute of ya time Nowadays, to better protect personal privacy, pay security, or something like that, Android phones enable users to set passwords or fingerprints to lock their devices. However, you may fail to unlock your Android phone if you forgot your lock password, or you can not open the old phone or broken phone. Obviously, you can unlock Android lock screen by hard resetting your phone, but you should know that a full factory reset on devices means wiping it clean of any data. Simply means that it will bring your Android phone to the same condition as it arrived in the box. To avoid losing data, it would be nice if you can bypass Android lock screen without a factory reset. So, you ...

How to make a file invisible by encrypting it.

How to make a file invisible by encrypting it Use the service https://7r6.com/aNLY5d if you are concerned that a file you send might be intercepted and its contents discovered. It transforms the information in the text into a difficult-to-decipher code. You must enter a password to view the file's actual contents. Use of the service: 1. Go to the website at https://7r6.com/aNLY5d (to get the site you have to bypass this site. You will be given a button in green color caption GET LINK) Select the encrypted file by clicking "Browse Files" in step two. 3. Type a password in the box below or create a random one. 4. To encrypt and download an encrypted file, click "Encrypt," then "Encrypted file." 5. Forward the file to your pal, He has to leave . He must visit the same website, get our file, decrypt it using the password we came up with, click "Decrypt," then download it again.

Earn money from Telegram by using EarningGram bot.

EarningGram is the best Telegram bot that allows you to earn money in Telegram. With EarningGram, You can earn as much as 5% of your Telegram referrals' earnings! EarningGram Bot helps you make money by doing simple tasks on your Telegram app. Whatever you want, when you want it. It's fast, easy to use and free. WHY TO ACCUMULATE MORE  Create a Telegram Channel and Earn money every time you send a message. EarningGram bot will automate your Instagram, Facebook, Twitter accounts and also Telegram. Facebook, can be a means of promoting affiliate programs.          GETTING STARTED If you don't have the telegram app download from play store. Click here to lead you to the bot. Tap on the start and do all necessary task you are been asked. You will be asked to submit your Coinbase email. That's the email you used to create your Coinbase account. If you don't have one create one ASAP!!! Create here   Accumulate more by sending your referral link. Minimum pay...