answersLogoWhite

0

Why is encapsulation called wrapping?

Updated: 10/31/2022
User Avatar

Wiki User

14y ago

Best Answer

Encapsulation is also known as wrapping because it wraps the data in the same way as a toffee is wrapped to create a logical insulation between the data(program) & the outer world(computer).

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is encapsulation called wrapping?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Wrapping of data in a single unit is called?

encapsulation


What is different between inheritance and encapsulation?

wrapping up of data and function into a single unit is called encapsulation where polymorphism is the ability to take more than one form


Is it true that wrapping up of data of different types into a single unit is known as encapsulation?

Not quite. Encapsulation means to combine data and the methods that work upon that data into a single unit (an object), such that access to both the data and methods is restricted in a controlled manner. Data-hiding is fundamental to encapsulation.


What is the name of the process of building a frame around network layer information?

Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.


What is mummy wrapping called?

When you wrap a mummy it is called the process of mummification


What is viscose food wrapping called?

Cellophane I think


What are the oops concepts in net?

the 4 oops concept are: 1. Encapsulation: The process of wrapping data into a single unit is called Encapsulation 2. Inheritance: This the process in which a properties of a predefined class can be inherited in a new class making the object of that class in the making class. 3. Polymorphism: This the process in which a program can have more than one function with the same name but different parameters. 4. Data Hiding: It is the process of creating a logical insulation between the program and the environment.


What is the song that starts out bah humbug in shrek the halls?

The artists name is the waitresses and the song is called Christmas wrapping


Which command sets the encapsulation on a Serial interface back to the Cisco default?

encapsulation hdlc


When a line is continued or completed in the next line it is called?

Text wrapping.


3 pillars of object oriented programming?

abstraction, inheritance, encapsulation, and polymorphism.


Why encapsulation is needed in java?

Encapsulation is not needed in Java, or any other language. But it's useful. Encapsulation is used to minimise the number of potential dependencies with the highest probability of change propagation.