Computer Science · Object Oriented Programming
Which statement best describes the concept of encapsulation in object-oriented programming?
- 1When a class inherits from another class, it inherits both the states and methods of that class.
- 2Grouping the commonalities and creating classes that can describe their differences from other classes.
- 3The process of an object controlling outside access to its internal data.✓
- 4The collection of methods that an object implements that can be called by other objects.
Correct answer
The process of an object controlling outside access to its internal data.
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Object Oriented Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Object Oriented Programming