JAVA Tutorial – Introduction to Java

This Java tutorial is useful to understand basic java concepts.

JAVA is a distributed technology developed by James Gosling, Patric Naugton, etc., at Sun Micro System has released a lot of rules for JAVA and those rules are implemented by JavaSoft Inc, USA (which is the software division of Sun Micro System) in the year 1990. The original name of JAVA is OAK (which is a tree name). In the year 1995, OAK was revised and developed software called JAVA (which is a coffee seed name).

JAVA released to the market in three categories J2SE (JAVA 2 Standard Edition), J2EE (JAVA2 Enterprise Edition) and J2ME (JAVA 2 Micro/Mobile Edition).

Inheritance: Inheritance is the process of taking features [data members + methods] from one class to another class.

  • The class giving the features is known as base/parent class.
  • The class which is taking the features is known as derived/child/subclass.
  • An Instance is known as subclassing or derivation or extendable classes or reusability.

Polymorphism: Polymorphism is a process of representing “one form in many forms”.

  • In object oriented programming’s, we have two types of polymorphism. They are compile time polymorphism and run time polymorphism.
  • Java does not support compile time polymorphism but JAVA supports only run time polymorphism.

Dynamic Binding: Dynamic binding is a mechanism of binding an appropriate version of a derived class which is inherited from base class with base class object.

  • Every real time application will be developed with concept of polymorphism and executed with concept of dynamic binding.
  • Dynamic binding is basically used to reduce the amount of memory space for improving the performance of JAVA application.

Message Passing: Exchanging the data between multiple objects is known as message passing. Message passing is the process of exchanging the data between two remote/local objects for a period of time across the network for generating multiple requests for obtaining multiple responses for performing a meaningful operation.