Java High Level Overview
Traditional programming language such as C, C++ and Pascal are platform dependent which means that if you write and compile the source code in windows, it must and will run only on windows. Imagine how many derivate of Microsoft Windows we already have including the 32 bit and 64 bit version. And lets add up the different flavors of UNIX that we have to take into account. So if we have n number of operating systems that we want our program to be compatible, then we also need to have n version of our program.
The platform dependency of earlier computer programs was solved by Java. Java runs through a virtual machine. It’s an interpreted programming language. Therefore, regardless of which platform you have developed and compiled your code, it is expected that it should run on any compatible JVM regardless of which operating system it sits in. This concept became a reality through bytecode encoding. When you compile your Java code, it is translated into bytecode. The Java virtual machine (JVM) will then interpret the bytecode and translate it into machine language. Simple and a lot faster in development isn’t it?
Java maybe great in terms of portability, however there is one big drawback which is its computer resource intensiveness. Because Java runs inside of another program which is the JVM, it is more resource intensive than those traditional programming languages. But because of ease of deployment, faster development and the availability of more powerful server, it outweighs the mentioned disadvantages.
Why we have to Learn Java?
The following are the reasons why you must learn java programming:
- More than 3 billion devices nowadays are running in Java
- In corporate world, this is one of the after sought programming languages.
- Almost all web applications being developed for large companies are in Java
- Because of above reasons, Java programmers are one of the top highest paid among all IT professions
This reference document is prepared for audiences that started to learn java programming language. We will make the discussion as simple as possible.
Advance topic in Java is also discussed here in JavaTutorialHQ such as the concept of Object Oriented Programming (OOP), Inheritance and Abstraction. These concepts are one of the primary reasons why Java is so popular.
Java examples from basic to advance concept is also available for reference and can definitely help you in learning java programming language. Source codes are provided that you can readily modify to suit your needs.
This Java tutorial implicitly requires basic understanding what is a computer program and basic computer skills. The author provide information on this document as accurate as possible however it is not guaranteed that all is accurate but the author emphasize a great deal of time and effort to collate these information to provide knowledge that can stand the test of time.
Java Tutorial Sections
List of Basic Java Tutorials
- Java Tutorial 1 – Introduction
- Java Tutorial 2 – JDK Installation
- Java Tutorial 3 – IDE
- Java Tutorial 4 – First Java Program (Hello World)
- Java Tutorial 5 – OOPs
- Java Tutorial 6 – Discussion on Primitive Data Types
- Java Tutorial 7 – Variables
- Java Tutorial 8 – Array
- Java Tutorial 9 – Operators
- Java Tutorial 10 – Conditional Statements
- Java Tutorial 11 – Loop
- Java Tutorial 12 – Class