OOPs in Java stands for Object Oriented Programming System. It is a Procedural programming is about writing procedures or methods that perform operations on the data, while object-oriented programming is about creating objects that contain both data and methods.

Some Concept of OOPs in Java

  • Object
  • Class
  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulation

Images of Opps Concept

Opps Concept
Opps Concept

Object And Class

Class is the blueprint or logical structure that consist the data and methods. Using class we can create objects or instance of class.

Object is a any thing that exist in this real world called object. Such as pen, fan, chair, laptop, etc.

  • Every object has two things
    • Properties (data)
    • Behaviors (functions/methods)
  • For composing the properties and behavior related with object in one unit we require the concept of class.
  • Once we create a class we can create multiple objects.
  • Object is unique because one object is not related with other.

Inheritance

Provide the facility to make a relation between or among the classes in which one class will access the features( data/methods) of other class is knows as Inheritance.

Polymorphism

Polymorphism is derived from two Greek word :- poly and morphs. The word poly means ‘many
and morphs means ‘forms’. A concept by which we can perform a single action in different ways is knows as Polymorphism.

Abstraction

It is used for hiding irrelevant data. It only display essential information.

Encapsulation

It is use for wrapping of data in a single unit.

If you have any queries regarding this article or if I have missed something on this topic, please feel free to add in the comment down below for the audience. See you guys in another article.

To know more about JAVA Wikipedia please click here .

Stay Connected Stay Safe, Thank you


Basic Engineer

Hey Readers! We have more than fifteen years of experience in Software Development, IoT, Telecom, Banking, Finance and Embedded domain. Currently we are actively working on Data Science, ML and AI with multiple market leaders worldwide. Happy Reading. Cheers!

0 Comments

Leave a Reply

Avatar placeholder

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