Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is encapsulation?

encapsulation
0
Posted

What is encapsulation?

0

Encapsulation means to coat, bind or resurface asbestos-containing materials with a product that will surround or embed the asbestos to prevent the release of fibers. Encapsulation is not suitable for all types of asbestos-containing material (ACM) and the decision to repair ACM with encapsulation should be made by a professional.

0

Ans : Encapsulation is the ability to hide the internal workings of an object’s behavior and its data. For instance, let’s say you have a object named Bike and this object has a method named start(). When you create an instance of a Bike object and call its start() method you are not worried about what happens to accomplish this, you just want to make sure the state of the bike is changed to ‘running’ afterwards. This kind of behavior hiding is encapsulation and it makes programming much easier.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.