Learn Java Overview

Hey guys!! Let us delve into new programming language called java. Here you will learn java overview.

I’m going to give you a very brief introduction on java and cover some of the general concepts as well.

What is java?

Java is

  • object oriented programming language.
  • simple, portable, secured, robust and high level platform language.
  • has its own Java Run-time Environment(JRE) and Application Programming Interface(API), called platform.
  • key component Java Virtual Machine(JVM) software allows java code to run on your machine.

For now let’s go over each point in more detail,

So, what does it mean to be a high-level programming language?? This means that the java source code is written in plain text or human readable format. Java files are saved with dot java extension like other normal languages like english. Java has a set of rules on how it should be written and this is known as syntax. As a beginner if you look at the java code it would probably resemble a mix of english and mathematics. This makes java very easy to read the code and understand. Meanwhile it helps to contribute to the next point, that is, simplicity. As mentioned before part of the java simplicity comes from the fact that it’s a high-level programming language which makes easy to read and understand. There are also a lot of predefined libraries that come out of the box with java that can be used. This allows developers to quickly write and leverage this large library. For example, there is already code in these libraries that allow you to do fairly common tasks such as manipulation, so we do not have to worry about the complexities of manipulation. Some of the other benefits that java has over other languages such as C language, is that developers don’t have to worry about memory management. Anything you create in your code will take up memory and with java you don’t have to manually allocate memory yourself. Java will automatically reserve the needed amount of memory for your application and also automatically get rid of unused variables from memory thanks to its built-in automatic garbage collector.

Also Read – Java Garbage Collection

As we will see in our next point about ability, the code written on one machine is guaranteed to work on any other machine that can run java. This allows you as the developer to focus solely on the code. Let’s understand it in detail on what makes java supportable

Learn Java Overview

Remember Java Virtual Machine(JVM) that i mentioned in previous paragraph, it’s really the key that makes java portable. When you are done writing your java code you need to compile it using java compiler to a dot class file. This file is a non-human readable file and chances are your machine will not be able to understand it either. So what’s the point of this file??

Learn Java Overview

This file actually contains byte code which you can think of as a language that only the jvm can understand. The jvm then translates this into a language that your machine can understand. You can kind of think of the java compiler as a translator between your code and the jvm and the jvm as the translator between your compiled code and your machine. You may have noticed when first downloading job at different versions for each major operating system you can kind of think of these as different translators for each operating systems. This provides great flexibility for developers because if the code compiles and runs on one machine it will compile and run on any other machine with java installed.

Java is an object oriented programming language. This is usually called as OOP for short. What this means is that, it is a style of programming. In OOP we put related state and behavior in to entities known as objects. This is very similar to real world where you can think of things like motorcycle or car as objects and they have states like engine on and engine off and behavior like moving and parking. These objects can also communicate with each other. This allows for objects to interact with each other and leverage each other related functions that’s unique to that class. If used properly this can lead to reusable and easy to maintain code. OOP is a large topic so i’ll stop here for now but you should have gotten the essence of what OOP is.

Now we will move on to a simple java example, types of java application and uses.

Example: Learn Java Overview

class Simple{

public static void main(String args[]){
System.out.println("Hello Java"); 


Hello Java

types of java application

  • Web Application
  • Enterprise Application
  • Mobile Application
  • Standalone Application
  • Games
  • Banking Applications
  • Robotics
  • Widely in android mobile
  • Antivirus
  • Adobe Acrobat

About the author


View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *