Which of the following concepts of OOPS means exposing only necessary information to client ?

A. Abstraction

B. Encapsulation

C. Data hiding

D. Data binding

Answer : C. Data hiding

Explanation :

Data hiding:

  • Data hiding is hiding the details of internal data members of an object. Data hiding is also known as Information hiding.

Abstraction:

  • It can be defined as the separation of unnecessary details or explanation from system requirements so as to reduce the complexities of understanding requirements.

Encapsulation:

  • It is a mechanism that puts the data and function together. It is the result of hiding implementation details of an object from its user.The object hides its data to de accessed by only those functions which are packed in the class of that object.

Dynamic Binding:

  • Dynamic binding is the process of resolving the function to be associated with the respective functions calls during their runtime rather than compile time.

Categorized in:

Tagged in:

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,