answersLogoWhite

0


Best Answer

Data hiding can be done by specifying the variables or data members in a private or protected section.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

10mo ago

Data hiding in OOP refers to the practice of hiding the internal state of an object from the outside world. This is achieved by encapsulating the data within the object and only allowing access to it through specified methods, known as getters and setters. By hiding the data, we protect it from being modified unintentionally and improve the integrity of the object's internal structure.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is data hidding in oop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In OOP the concept of insulating data and from direct access by the program is known as?

In OOP, the concept of insulating data and from direct access by the program is known as


How data and function are organised in oop?

dfdafdaf


Why is OOP important?

An OOP is a computer programming methodology that focuses on data rather than processes, with programs composed of self-sufficient modules (objects) containing all the information needed to manipulate a data structure. Abbreviated OOP.


What is the difference between oop's pop's?

"OOP" stands for Object-Oriented Programming, which is a programming paradigm that uses objects to represent data and methods. "POP" can refer to various things, such as the "pop" method in programming languages like Python that removes and returns the last element from a list. The two terms are not directly comparable as they refer to different concepts in programming.


What are the main features of OOP in c plus plus?

The main features of OOP are the same regardless of the language. They are: encapsulation; data hiding; inheritance; and polymorphism.


How oop is used for real world problems?

oop is a concept which is based on the objects and objects are the real world entities tht describe the real world problems.oop emphasises more on data abstraction and security and gives more importanceto the user requirement.as the data in oop is more secured than pop languages......oop describes the real world problems more specifically and in an efficient manner.


When was Rene Hidding born?

Rene Hidding was born in 1953.


Data-Oriented Programming in Java?

Data-Oriented Programming (DOP) focuses on decreasing the complexity of the Object-Oriented Programming (OOP) application systems by rethinking data


What is meant by class in java?

class is an important element of an oop. class is a user defind data type.


What are oop functions?

1.genericity 2.polymorphism 3.objects and classes 4.data abstraction 5.data encapsulation 6.inheritence


When was Alides Hidding born?

Alides Hidding was born on January 30, 1954.


What is data types in oop?

The data types in oops are object creation of type can be classtype some other structure type. eg: ClassOne c ; Revathi