OOPs Concepts - Object Oriented Programming Characteristics - Cyber Thieve

 Object oriented programming characteristics


Object oriented programming characteristics



What is Object-Oriented Programming Model?

object-oriented programming model GO ROUND around the concept of Objects. What is an Object? An object is an instance of a Class. It contains properties and functions. They are like real-world objects. For example, your car, house, laptop, etc. are all objects. They have some specific properties and methods to perform some action. What is a Class? The Class defines the blueprint of Objects. They define the properties and functionalities of the objects.


OOPs Characteristics 

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

Claass :-    

class is a user-defined blueprint or prototype from which objects are created. It represents the set of properties or methods that are common to all objects of one type. Using classes, you can create multiple objects with the same behaviour instead of writing their code multiple times. This includes classes for objects occurring more than once in your code. In general, class declarations can include these components in order


Object :-

Any entity that has state and behaviour is known as an object. An Object can be defined as an instance of a class. An object contains an address and takes up some space in memory. Objects can communicate without knowing the details of each other's data or code. The only necessary thing is the type of message accepted and the type of response returned by the objects.An Object can be defined as an instance of a class. An object contains an address and takes up some space in memory. Objects can communicate without knowing the details of each other's data or code. The only necessary thing is the type of message accepted and the type of response returned by the objects.



Inheritance :-

Inheritance is the object-oriented programming concept where an object is based on another object. Inheritance is the mechanism of code reuse. The object that is getting inherited is called the superclass and the object that inherits the superclass is called a subclass.


Polymorphism :-

If one task is performed in different ways, it is known as polymorphism.
polymorphism is the power of a function or operator to perform more then one task.


Abstraction :-

Hiding internal details and showing functionality is known as abstraction. For example phone call, we don't know the internal processing.


Encapsulation :-

Binding (or wrapping) code and data together into a single unit are known as encapsulation. For example, a capsule, it is wrapped with different medicines.


NOTE : If you find any mistake or weakness in my article please help us to improve our content.

Also Read Our Best Article on Networking :

Presentation Layer
Application Layer
Session Layer

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Ok, Go it!