Political Science, asked by talhaaleemsal3610, 1 year ago

encapsulation is the concept of

Answers

Answered by Anonymous
2
Hey mate
....


Here is your answer


It is one of the fundamentals of OOP. It refers to bundling the data with the methods that operate on the data. It is used to hide tge values or state of a structural data object inside a class, preventing unauthorized parties, direct access to them


Hope helps you
Answered by Anshu33845
0

Answer:

The concept of encapsulation in computer networking states 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