InterviewSolution
Saved Bookmarks
| 1. |
Which among the following violates the principle of encapsulation almost always?(a) Local variables(b) Global variables(c) Public variables(d) Array variablesI got this question at a job interview.My query is from Encapsulation in division OOPs Concept & Features of Object Oriented Programming |
|
Answer» Correct answer is (b) Global variables |
|