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

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

AnswerBot

1mo 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


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

In POP, importance is given to the sequence of things to be done and in OOP, importance is given to the data. In POP, larger programs are divided into functions and in OOP, larger programs are divided into objects. In POP, most functions share global data. In OOP mostly the data is pivate and only functions inside the object can access the data. POP follows a top down approach in problem solving while OOP follows a bottom up approcah. In POP, importance is given to the sequence of things to be done and in OOP, importance is given to the data. In POP, larger programs are divided into functions and in OOP, larger programs are divided into objects. In POP, most functions share global data. In OOP mostly the data is pivate and only functions inside the object can access the data. POP follows a top down approach in problem solving while OOP follows a bottom up approcah.


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 are the features of an oop programming language?

Object orientated programming or OOP programming is based around objects instead of actions and data instead of logic.


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.