194k views
4 votes
The client can use a method without knowing how it is implemented. The details of the implementation are encapsulated in the method and hidden from the client who invokes the method. This is known as ________.

User Newt
by
4.5k points

1 Answer

2 votes

Answer:

Information hiding or Abstraction

Step-by-step explanation:

Abstraction also known ad information hiding can be explained as a term that is closely associated with Encapsulation.

A programmer can apply Abstraction, by hiding all but the relevant data about and interaction with an object, in order to reduce complexity and increase efficiency, especially when improvements or modifications need to be made from time to time.

When a programmer applies abstraction or information hiding the details of the implementation are encapsulated in the method and hidden from the client .

User Patrick Beardmore
by
4.0k points