answersLogoWhite

0


Best Answer

Encapsulation.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the term that describes the hiding of implementation details of objects from each other in a C plus plus class?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is abstraction most closely describe the way a calling method is not aware of the statements within a called method?

Implementation hiding.


What is different between inheritance and encapsulation?

wrapping up of data and function into a single unit is called encapsulation where polymorphism is the ability to take more than one form


What is Information Hiding in OOP?

There is no such concept as information hiding in OOP. While many programmers incorrectly believe private and protected member variables are hidden in a class, these access specifiers do nothing more than limit access to those variables, they do not actually hide anything. Information hiding is actually a function of binary executables and libraries, not OOP, because information can be obfuscated by procedural machine code far more easily than with structured source code. When referring to OOP, we use the term abstraction rather than information hiding. Abstraction relates to the way in which it is not necessary to know the underlying storage mechanism of a class, nor its implementation details, in order to make use of a class. This allows the class designer to alter the class design specification without affecting the existing consumers, provided the existing abstract interface remains unaltered. In other words, it reduces maintenance by localising changes within the class, rather than affecting code outside of the class as would occur in a non-OOP environment. It is the interface which provides the abstraction, but it does not physically hide anything. That is, while it is not necessary to know the underlying storage or implementation details of the class, there is absolutely nothing to prevent you from looking at those details, even if those details are obfuscated within a binary library (just because something is hidden doesn't mean it can't be found with a bit of effort).


How encapsulation and abstraction are interrelated?

Encapsulation wraps up data and functions under a single unit and ensures that only essential features get represented without representing the background details which is nothing but abstraction. Therefore, encapsulation is a way of implementing abstraction


Why encapsulation does not implement information hiding in object orientation?

Encapsulation also implements data hiding in an object oriented programming design. By encapsulating various methods & data objects into a single class they can also be hidden from all the other classes. You can declare the variables and methods as private and that way you can hide the data from the other classes in the application.

Related questions

Definition of data abstraction in rdbms?

Data Abstraction in DBMS means hiding implementation details(i.e. high level details) from end user.e.g. In case of storage of data in database user can only access the database, but implementation details such as how the data is stored phisically onto the disc is hidden from user.


Hiding a portion of a picture or piece of clip art best describes which acton?

Hiding


What is domain privacy?

Hiding your personal details from public.


What best describes hiding?

Complete concealment of an object.


A word the describes hiding loneliness?

Stoic. That is the word I can think of.


Is abstraction most closely describe the way a calling method is not aware of the statements within a called method?

Implementation hiding.


What is the difference between data abstraction and encapsulation?

Data Encapsulation : It is a process of bundling the data, and the functions that use them, as a single unit( atleast in C++) . In C++ the data type "class" is used to achieve this. Data Abstraction : It is a process of exposing only the interfaces and hiding the implementation details from the user. The interface exposed will remain the same: even if the internal implementation changes. This helps the user to use the new functionality without rewriting the client that was designed for previous implementation (strictly speaking ... previous interface).


What is different between inheritance and encapsulation?

wrapping up of data and function into a single unit is called encapsulation where polymorphism is the ability to take more than one form


What is data hiding and its advantages?

Data hiding is the concept of restricting access to certain information within a software component or object. It helps to improve security by preventing direct access to sensitive data and promotes encapsulation, allowing for better organization and maintenance of code. Additionally, data hiding facilitates information hiding, where the internal details of an object can be hidden and only relevant information is exposed to the external world.


Hiding a portion of a picture or piece of clip art best describes which of the following actions?

D. Cropping


What is the modifier in the sentence The kids discovered Rover hiding in the picnic basket.?

In the sentence, "hiding in the picnic basket" is the modifier. It describes where Rover was found and provides additional information about the verb "discovered."


Where can a hamster be found?

In a house, they're most likely hiding behind furniture and big, massive objects with spaces between them.