Introduction to Object Oriented Programming Concepts in Java

  • Object Oriented Programming is used to represent the real
    world data.
  • The main focus is on data.
  • Simula is considered to be the first object oriented programming language.

Introduction to Object Oriented Programming Concepts in Java

Object Oriented Programming Concepts

There are 6 object oriented programming concepts in Java
which are given below.
  1. Class
  2. Object
  3. Encapsulation
  4. Polymorphism
  5. Inheritance
  6. Abstraction

Class

Class is a collection of similar type of objects which have
some common properties.

Object

Object is any real world entity which have physical
existence either living or non-living.

Encapsulation

The wrapping up of data and functions into a single unit (class)
is known as encapsulation.

Polymorphism

Polymorphism is used to assume the ability of several
different forms. Or we can say performing one task in different ways.

Inheritance

Creating a new class form an existing class is known as
inheritance. It provides code reusability.

Abstraction

Hiding the complexity and showing the functionality is known
as abstraction. Showing the essential data and hiding the non essential data.

In next tutorials we will discuss these concepts in detail.

2 thoughts on “Introduction to Object Oriented Programming Concepts in Java”

Leave a Comment

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