Difference between Data Hiding and Implementation



Difference between Data Hiding and Implementation


Distinguish, differentiate, compare and explain what is the Difference between Data Hiding and Implementation. Comparison and Differences.

Difference between Data Hiding and Implementation

Data hiding is the concept of hiding the data from the other objects. It allows the data to be hidden from other objects that can prevent the use of any other objects. This way the direct manipulation of the object cant be done and the cell will hide the internal mechanism of it. A method uses an interface such as primary, public, etc. The implementation keeps the separate out data and let the user implement the structure or the data that is being provided already.

Implementation allows the object to be changes according to the requirement. It deals with objects communication via messages in which when a target object then the implementation can be done with the method. The example is given below:

class teacher
{
// properties of the teacher
String name[];
int numb;

// behavior
public void()
// this is the function that is given and it will include all your code
}



Tags:

Difference between Implementation vs Data Hiding

Data Hiding vs Implementation

Differences between Implementation vs Data Hiding

Image Credits: Freepik

Spreading Knowledge Across the World

  • United States
  • United Kingdom
  • India
  • Nigeria
  • Philippines
  • Pakistan
  • Nepal
  • Singapore
  • Indonesia
  • Bangladesh
  • Ghana
  • United Arab Emirates
  • Kenya
  • Canada
  • Malaysia
  • Australia
  • Iran
  • South Africa
  • Uganda
  • France
  • Ireland
  • Unknown Region
  • Egypt
  • Tanzania
  • Ethiopia
  • Thailand
  • Sri Lanka
  • Cameroon
  • Hong Kong
  • Spain
  • Vietnam
  • New Zealand
  • Japan
  • Brazil
  • Saudi Arabia
  • Zambia
  • Czechia
  • Italy
  • Russia
  • Myanmar (Burma)
  • Netherlands
  • Germany
  • Romania
  • Mexico
  • Rwanda
  • Sierra Leone
  • Turkey
  • Zimbabwe
  • Poland
  • Iraq
  • Cyprus
  • Algeria
  • Liberia
  • Greece
  • Jamaica
  • Malawi
  • Qatar
  • Portugal
  • South Korea
  • Argentina
  • Colombia
  • Morocco
  • Peru
  • Kuwait
  • Lithuania
  • Finland
  • Somalia
  • Israel
  • Bulgaria
  • Chile
  • Hungary
  • Trinidad & Tobago
  • Uzbekistan
  • Ukraine
  • Sweden
  • Kazakhstan
  • Norway
  • Macedonia
  • Benin
  • Switzerland
  • Oman
  • Botswana
  • Belgium
  • Ecuador
  • Slovakia
  • China
  • Croatia
  • Brunei
  • Serbia
  • Papua New Guinea
  • Bahrain
  • Guyana
  • Denmark
  • Lesotho
  • Lebanon
  • Jordan
  • Azerbaijan
  • Latvia
  • Cambodia
  • Namibia
  • Mauritius
  • Austria
  • Mongolia
  • Albania
  • Libya
  • Gambia
  • Taiwan
  • Bhutan
  • Venezuela
  • Dominican Republic
  • Tunisia
  • Luxembourg
  • Bosnia & Herzegovina
  • Guatemala
  • Solomon Islands
  • Guam
  • Costa Rica
  • Yemen
  • Bolivia
  • and many more ...