_____ in Object-Oriented COBOL is a way to define a contract that a class must adhere to, specifying the methods it must implement.
- Encapsulation
- Inheritance
- Interface
- Polymorphism
Interface in Object-Oriented COBOL is a way to define a contract that a class must adhere to, specifying the methods it must implement. It establishes a set of method signatures that must be implemented by any class that implements the interface.
Loading...
Related Quiz
- In COBOL, a _____ is a condition that triggers a temporary stop in program execution for inspection during debugging.
- When declaring a table in COBOL, which clause specifies the number of occurrences?
- You are tasked with optimizing a COBOL program that reads and processes a large sequential file. Which technique would you consider for reducing I/O operations and improving performance?
- How does the OCCURS clause contribute to memory management and efficiency in COBOL?
- The _____ clause is used to declare the initial value of a COBOL constant.