Which concept of OOPS means exposing only necessary information to - ProProfs Discuss
Advertisement

Which concept of OOPS means exposing only necessary information to client?

Asked by Ashishdoorwar, Last updated: Mar 31, 2024

+ Answer
Request
Question menu
Vote up Vote down

3 Answers

D. Ronald

D. Ronald

D. Ronald
D. Ronald, Writer, Austin

Answered Sep 11, 2018

Data hiding is a method used in object-oriented programming to hide information within computer code. Objects inside code are not privy to information which is considered hidden. It presents many advantages for programmers because objects are unable to connect to irrelevant data and hackers are less likely to access data.

Data hiding takes specific parts of the code and then conceals those parts from the objects. The objects are not directly accessible in any data that is hidden. If an object is able to access hidden data, it will return an error, and this is because the object cannot see the data.

upvote downvote
Reply 

John Adney

John Adney

John Adney
This should be abstraction:

Definition of abstraction: In object-oriented programming, abstraction is one of three central principles (along with encapsulation and inheritance). Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Nov 04, 2016

Data Hiding
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.