In Object-Oriented COBOL, what is an object?

  • A data structure
  • A subroutine in a program
  • A variable declaration
  • An instance of a class
In Object-Oriented COBOL, an object is an instance of a class. A class defines a blueprint or template for objects, and an object is a concrete realization of that blueprint, encapsulating both data and behavior associated with the class.
Add your answer
Loading...

Leave a comment

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