Skip to content
Sign in
Computer

Which concept combines data and methods into a single unit?

Tap an option to check the answer. You can also press A–D.

Show answer

Correct answer: A) Encapsulation

Encapsulation combines data and methods in one unit. A class is commonly used to achieve encapsulation. It helps protect data from direct outside access. Last verified on 14-11-2026
Explanation
Encapsulation combines data and methods in one unit. A class is commonly used to achieve encapsulation. It helps protect data from direct outside access. Last verified on 14-11-2026