What types of Information hiding has?
Loading
What types of Information hiding has?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Brahma Prakash ShuklaPosted Nov 4, 2022, 1:44 PM
Public: If a class member is public, it can be used anywhere without the access restrictions.
Private: if a class member is private, it can be used only by the members and friends of class.
Protected: if a class member is protected, it can be used only by the members and friends of class and the members and friends of classes derived from class.
Abhishek YadavPosted Oct 27, 2022, 8:39 AM
Information hiding for programmers is executed to prevent system design change. If design decisions are hidden, certain program code cannot be modified or changed. Information hiding is usually done for internally changeable code, which is sometimes especially designed not to be exposed
Uday DodiyaPosted Oct 27, 2022, 5:26 AM
Information hiding for programmers is executed to prevent system design change. If design decisions are hidden, certain program code cannot be modified or changed. Information hiding is usually done for internally changeable code, which is sometimes especially designed not to be exposed
Muhammad Imran AnsariPosted Oct 26, 2022, 6:37 PM
In OOP/OOD Information hiding is achieved by use of the three types/access specifiers of a class:
Public: If a class member is public, it can be used anywhere without the access restrictions.
Private: if a class member is private, it can be used only by the members and friends of class.
Protected: if a class member is protected, it can be used only by the members and friends of class and the members and friends of classes derived from class.