You are developing a COBOL application that requires modeling real-world entities and their relationships. Which Object-Oriented COBOL concept would you use to achieve this?
- Abstract Data Types
- Encapsulation
- Inheritance
- Polymorphism
In Object-Oriented COBOL, Inheritance is used to model real-world entities and their relationships. It allows a class to inherit attributes and behaviors from another class, promoting code reusability and representing an "is-a" relationship.
Loading...
Related Quiz
- What does the CLOSE verb in COBOL primarily do for an open file?
- You are developing a COBOL program to calculate the total sales for a retail store. Which COBOL statement would you use to add the sales amounts from multiple transactions?
- In Object-Oriented COBOL, what is an object?
- What considerations should be taken into account when using the CONTINUE statement for error handling?
- You are developing a COBOL application to read and process data from a CSV file. Which COBOL Procedure Division statement(s) would be essential in this scenario?