Multiple choice technology mainframe

Why do ypu use INVOKE in COBOL?

  1. To creates object instances of a COBOL or Java class or invokes a method defined in a COBOL or Java class

  2. To creates object instances of a COBOL or ORACLE class or invokes a method defined in a COBOL or ORACLE class

  3. To creates object instances of a COBOL or UNIX class or invokes a method defined in a COBOL or UNIX class

  4. Invalid Syntax

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The INVOKE statement in COBOL is used to create object instances of COBOL or Java classes and to invoke methods defined in those classes. It's part of COBOL's object-oriented extensions that enable interoperability with Java and COBOL objects.