1.

What are the object oriented features provided in COBOL?

Answer»

Object-Oriented COBOL provides the following features:

  • DEFINE classes and let programs define and create objects of those classes.
  • Data encapsulation is due to the ABILITY to create objects. The data properties will be encapsulated in the objects.
  • Behaviour of objects can be defined for the class by means of methods.
  • Inheritance is supported in COBOL.
  • Provides maximum FLEXIBILITY by means of polymorphism and defining interfaces.
  • Also compatible with procedural PROGRAMMING.


Discussion

No Comment Found