Home / Report Question

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

Correct Answer: B