Home / Programming MCQs / Perl MCQs / Question

N

Nisha Gupta • 2.32K Points
Master

Q. What is encapsulation in Perl?

(A) Creating Arrays
(B) Wrapping up data and related methods to a single unit
(C) Creating separate structures storing values
(D) All of these
Explanation by: Nisha Gupta
Encapsulation is wrapping up data and related methods to a single unit in Perl.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.