112k views
5 votes
OO principles do not include the following

a. inheritance
b. concurrency
c. encapsulation
d. polymorphism

User PatrickS
by
8.0k points

1 Answer

3 votes

Final answer:

The question is about the principles of Object-Oriented programming (OO). The principles that do not include concurrency are inheritance, encapsulation, and polymorphism.

Step-by-step explanation:

OO Principles

The question is about the principles of Object-Oriented programming (OO).

Inheritance

OO principle of inheritance allows objects to inherit properties and behaviors from other objects.

Concurrency

Concurrency is not a principle of OO programming. It refers to the ability of a program to execute multiple tasks at the same time.

Encapsulation

Encapsulation is an important principle in OO programming that involves packaging data and methods into a single unit called a class.

Polymorphism

Polymorphism allows objects of different classes to be treated as objects of a common superclass. It enables objects to be used interchangeably.

User Nootrope
by
8.3k points