Bundling data and functions together is known as

(A) debugging
(B) encapsulation
(C) overloading
(D) polymorphism

The answer is: (B) encapsulation