Advertisements
Advertisements
Question
Which of the Object Oriented programming principle explains the following illustration? Justify.
The variables and methods are put together in a Class.
One Line Answer
Solution
Encapsulation: The variables and procedures are combined into a single unit, or wrapped together.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.01: Introduction to Object Oriented Programming Concepts - EXERCISES [Page 9]