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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *