Basic Core Java : A Java Language Tutorial

4 Flares Twitter 0 Facebook 0 Google+ 4 LinkedIn 0 Filament.io 4 Flares ×

This tutorial is all you need to master the basics of java language. The basic core java tutorial is divided into the following sections.

  • Beginnings of Java
  • Java Language Basics
  • Java Virtual Machine
  • Java Editors (IDEs)

The sections are divided to 5 pages and you can click on the interested page number to go straight to a particular section. For instance clicking on Page No :3 will take you the Hello World Program.

Basic Core Java

Beginnings of Java

Let us start with the history of Java Language. What prompted the creation of Java ?, What are the problems that Java language has solved ? Java Language was developed by James Gosling at Sun Microsystems ( merged with Oracle recently) and it was released to in 1995. Java was initially named as Oak and then to Green and finally to Java. Java derives most of its syntax from C and C++. You can even consider it as a natural evolution of C ++.

The five primary goals addressed by Java

  1. It should be “simple, object-oriented and familiar”
  2. It should be “robust and secure”
  3. It should be “architecture-neutral and portable”
  4. It should execute with “high performance”
  5. It should be “interpreted, threaded, and dynamic”

The most famous quote “Write Once, Run Anywhere” says it all. Java is a simple, easy to learn, object oriented, secure, platform independent language.

Before Java, the portability of  a program to another machine or operating system was a big issue. If you write your program in C or C++ on Unix and want to run the same on a windows or Mac, it was not easy. The architecture of the differences between the various Operating systems, processor architecture etc was a big issue and the developers were required to rewrite portions of the code to make it work in another platform.It was simply not possible to run a C ++ binary created for a platform on a different platform with a totally different architecture.That means you have to develop different executable programs for each platform. You were forced to recompile your code using the platform specific compiler and create a new executable.

Java brilliantly solved this issue with the concept of  “Virtual Machine”. Virtual Machine or VM ensured that the same executable is  run on different platforms with out recompilation. This concludes our section on the Beginnings of Java. In the next section we will cover Java Language Basics.

  • Hi Prem, nice explanation about java introduction and oops. In java arrays are the basic programs to practice and learn. Better practice some programs on arrays in java here i found it will be very userful.