Skip to content

Srishti44-g/HackerRank-Java

Repository files navigation

HackerRank-Java

ABOUT JAVA

Java is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible.

Typing discipline: Static, strong, safe, nominative, manifest

First appeared: May 23, 1995; 25 years ago

Designed by: James Gosling

Stable release: Java SE 15 / September 15, 2020; 18 days ago

Developer: Oracle Corporation et al

Filename extensions: java,.class,.jar

What is JAVA?

  • Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language.
  • Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995.
  • James Gosling is known as the father of Java.
  • Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the Oak name to Java.

Plateforms

  • Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform.

Application

According to Sun, 3 billion devices run Java. There are many devices where Java is currently used. Some of them are as follows:

  • Desktop Applications such as acrobat reader, media player, antivirus, etc.
  • Web Applications such as irctc.co.in, javatpoint.com, etc.
  • Enterprise Applications such as banking applications.
  • Mobile
  • Embedded System
  • Smart Card
  • Robotics
  • Games, etc.

History of JAVA

  • The history of Java starts with the Green Team. Java team members (also known as Green Team), initiated this project to develop a language for digital devices such as set-top boxes, televisions, etc. However, it was suited for internet programming. Later, Java technology was incorporated by Netscape.

  • The principles for creating Java programming were "Simple, Robust, Portable, Platform-independent, Secured, High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic".

Why Java Programming named "Java"?

Java is an island of Indonesia where the first coffee was produced (called java coffee). It is a kind of espresso bean. Java name was chosen by James Gosling while having coffee near his office.

Features of Java

The primary objective of Java programming language creation was to make it portable, simple and secure programming language. list of most important features of Java language is given below.

Java Features

  • Simple
  • Object-Oriented
  • Portable
  • Platform independent
  • Secured
  • Robust
  • Architecture neutral
  • Interpreted
  • High Performance
  • Multithreaded
  • Distributed
  • Dynamic

Object-oriented

  • Java is an object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior.

  • Object-oriented programming (OOPs) is a methodology that simplifies software development and maintenance by providing some rules.

Basic concepts of OOPs are:

Object

Class

Inheritance

Polymorphism

Abstraction

Encapsulation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages