answersLogoWhite

0

What else can I help you with?

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

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

Hiding


What best describes hiding?

Complete concealment of an object.


What is domain privacy?

Hiding your personal details from public.


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


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.


What is physical abstraction in data abstraction?

Physical abstraction in data abstraction refers to hiding the implementation details of how data is stored and accessed. It allows programmers to work with high-level concepts of data without needing to understand the underlying physical structures. This separation enhances modularity and simplifies the complexity of software systems.


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."


What is data hiding and its advantages?

Data hiding is also known as abstraction. Abstraction refers to the act of representing essential features without including background details or explanations. It is useful in the sense that we can only the show the details that we want to show and can hide the rest.