_____ is a key concept in Object-Oriented COBOL that restricts access to certain data and methods to only within the class.
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
Encapsulation is a key concept in Object-Oriented COBOL that restricts access to certain data and methods to only within the class. It helps in hiding the internal details of a class from the outside world, promoting data security and integrity.
Loading...
Related Quiz
- Why are COBOL group data items used in program design?
- In a COBOL application that manages inventory data, you encounter a situation where multiple entries with the same product code exist. How would you handle these duplicate records to calculate accurate inventory quantities?
- Your COBOL program needs to process a large dataset of financial transactions that must be read in a specific order. Which file processing technique is most appropriate?
- How can you handle decimal point alignment when performing arithmetic operations on packed decimal fields?
- The OCCURS clause in COBOL is primarily used to define ____________.