Your project involves designing a system where multiple classes need to adhere to a specific contract and implement certain methods. Which Object-Oriented COBOL feature would be most suitable for this scenario?

  • Abstract Classes
  • Interfaces
  • Multiple Inheritance
  • Overloading
In Object-Oriented COBOL, Interfaces are used to define a contract that multiple classes must adhere to by implementing specific methods. This promotes consistency and standardization across classes in a system.
Add your answer
Loading...

Leave a comment

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