what is encapsulation of data?
Answers
Answered by
0
Answer:
The system of wrapping data and functions into a single unit is known as encapsulation of data.
Explanation:
In Object Oriented Programming, data is the fact of central attraction. In order to keep the data secured from outer interference, they are grouped along with the functions available in the class.
Such grouping does not allow the data to be accessed outside the class.
Answered by
0
Answer:
In terms of computer networking, the basic concept of encapsulation says that data flows down the protocol hierarchy, headers (and trailers) get appended to it and data moves up the hierarchy headers (and trailers) get stripped off.
Example to illustrate :-
- Trivial file transfer protocol (TFTP).
- TFTP client transfer 200 bytes of data.
- 4 Bytes of TFTP header gets added.
Similar questions
Accountancy,
9 months ago
Science,
9 months ago
Math,
9 months ago
Social Sciences,
1 year ago
India Languages,
1 year ago
English,
1 year ago