Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Requirements of object-oriented languages
#1

Before a language can be called object-oriented, it must provide four basic capabilities to developers:


1. Encapsulation — the capability to store related information, whether data or methods, together in an object
2. Aggregation — the capability to store one object inside of another object
3. Inheritance — the capability of a class to rely upon another class (or number of classes) for some of its properties and methods
4. Polymorphism — the capability to write one function or method that works in a variety of different ways
Reply
#2

Abstraction: The process of picking out (abstracting) common features of objects and procedures.

Class: A category of objects. The class defines all the common properties of the different objects that belong to it.

Information hiding: The process of hiding details of an object or function. Information hiding is a powerful programming technique because it reduces complexity.

Interface: the languages and codes that the applications use to communicate with each other and with the hardware.

Messaging: Message passing is a form of communication used in parallel programming and object-oriented programming.

Object: a self-contained entity that consists of both data and procedures to manipulate the data.

Procedure: a section of a program that performs a specific task.
Reply
#3

These concepts are the four main requirements of OOP world and in software term, they are called four main Object Oriented Programming (OOP) Concepts.
Encapsulation
Abstraction
Inheritance
Polymorphism
==================
Software Company Indore | IT Company Indore
Reply


Possibly Related Threads...
Thread / Author Replies Views Last Post
Last Post by sulbha
06-07-2019, 07:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)