Introduction to Java

Introduction to Java


The given below topics are about Introduction to Java


Introduction to Java

Java is a general-purpose programming language 

History of Invention

Java language was developed by Sun Micro Systems in June 1991. The Team Members are

  1. Mr. James Gosling.
  2. Mr. Mike Sheridan.
  3. Mr. Patric Naughton
  • Initially called ‘Oak’ after an oak tree now re-named as Java from Java Coffee.
  • Java using with C/C++-style syntax that system and application programmers would find familiar.
  • Sun released the first public implementation as Java 1.0 in 1995.
  • The specification’s were Write Once, Run Anywhere (WORA), providing no-cost run-times on popular platforms.
  • Now Java owned by Oracle Corporation, following their acquisition of Sun Microsystems on January 27, 2010.
  • The latest versions are Java-13, released in September 2019,
  • Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture.
  • Java was one of the most popular programming languages in use according to GitHub, particularly for client-server web applications, with a reported 9 million developers.

HighLights of Java

  1. Class-based.
  2. Object-Oriented
  3. Platform Independent.
  4. Simple.
  5. Secure.
  6. Architecture-neutral.
  7. Portable.
  8. Robust

Object Oriented vs Object Based.

Object Oriented :


All characteristics such as Inheritance, Polymorphism are supported.
Don’t have an in-built Object.
Ex: Java.

Object-Based :


Inheritance, Polymorphism is not supported.
Having a Window Built-in Object.
Ex: VB, JavaScript.

Java Supports the following fundamental concepts −

  1. Polymorphism.
  2. Inheritance.
  3. Encapsulation.
  4. Abstraction.
  5. Classes.
  6. Objects
  7. Instance.
  8. Method.
  9. Message Passing.

Java Standard Edition is Java SE 8.

For example J2EE for Enterprise Applications, J2ME for Mobile Applications.
The new J2 versions were renamed Java SE, Java EE, and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere.

Multithreaded

With Java’s multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.

Interpreted

Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and light-weight process.

High Performance

With the use of Just-In-Time compilers, Java enables high performance.

Distributed

Java is designed for the distributed environment of the internet.

Dynamic

Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. Java programs can carry an extensive amount of run-time information that can be used to verify and resolve access to objects on run-time.

——- End of Introduction to Java ———-

Important Links




Leave a Comment

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