Computer Science, asked by Nombre, 7 months ago

11. Which of the Object Oriented programming principles explain the following illustration
Justify.
(a) The variables and methods are put together in a Class.



(b) A man withdrawing money from ATM

Attachments:

Answers

Answered by StormBringer
10

Answer:

a) Encapsulation

b) Data Abstraction.

Explanation:

Hope it helps ☺️

Answered by aryansuts01
2

Answer:

The construction of objects with both data structures is known as OOP. If you ask the very same programmer to express the idea in plain words, they might find it difficult. Abstraction, Encapsulation, Inheritance, and Polymorphism are the cornerstones of OOP. In addition, there are types and entities.

Explanation:

(a). Principles of object-orientation. Commonly cited as the three guiding concepts of object-oriented languages (OOLs) and object-oriented philosophy are encapsulation, inheritance, and polymorphism.Two crucial components of encapsulation are:

Access control, for example, forbids one object from seeing the other's internal model.

Namespaces and scopes enable the same term to have various meanings depending on the context.

Decoupling between development tools requires encapsulation methods. Languages that are not object-oriented are where many encapsulation techniques first appeared. Programs that are object-oriented include more containment features.

(b). Data abstraction is used when a man withdraws money from an ATM because the internal components are concealed from the outer world and can only be accessible through function. This is because the intricate portions of the machine are hidden

#SPJ2

Similar questions