πŸ“Š Perl
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Wrapping up data and related methods to a single unit

Explanation: Encapsulation is wrapping up data and related methods to a single unit in Perl.

Explanation by: Nisha Gupta
Encapsulation is wrapping up data and related methods to a single unit in Perl.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
201
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Nisha Gupta
Publisher
πŸ“ˆ
95%
Success Rate