In object-oriented programming, what concept involves hiding the internal states and requiring all interaction to be performed through well-defined interfaces?
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
'Encapsulation' is a key concept in object-oriented programming that involves bundling the internal state and methods into a single unit (a class) and allowing interaction through well-defined interfaces, thus hiding implementation details.
Loading...
Related Quiz
- Which activation function in neural networks maps its input to values between 0 and 1?
- Which type of attack involves intercepting and possibly altering communications between two parties without their knowledge?
- Which module in an ERP system typically manages human resources, payroll, and benefits?
- What type of attack involves overwhelming a target with a flood of internet traffic, rendering it inaccessible?
- In ITSM, which process focuses primarily on restoring services to normal operation as quickly as possible?