1.

Explain the following terms :1. Object2. Abstraction 3. Encapsulation 50 points (:​

Answer»

\huge\boxed{\underline{\mathcal{\red{A}\green{N}\pink{S}\orange{W}\blue{E}\pink{R}}}}

OBJECT:

An object, in object-oriented programming (OOP), is an abstract data type created by a developer.

☆ It can include multiple properties and METHODS and may even contain other objects.

ABSTRACTION:

The definition of abstraction is an idea that lacks a concrete nature, or is idealistic in nature.

EXAMPLES of abstractions can be feelings such as sadness or happiness.

☆ Abstraction is defined as a WORK of art where the subject or theme is implied.

Encapsulation:

Encapsulation is one of the fundamental concepts in object-oriented programming (OOP).

☆ It describes the idea of bundling data and methods that work on that data within one unit,

☆ e.g., a class in Java



Discussion

No Comment Found