Title: Can you derive isCOBOL object classes from Java and vice versa?
Question:

Is it possible to use object-oriented COBOL to subclass a Java class? Can you provide an example of how this looks in COBOL?

Is it possible to go the other way and extend a COBOL object class with Java (e.g. class myJavaSubClass extends myCOBOLSuperClass)? Can you provide an example?

Is it possible to "implement" a Java interface using OOCOBOL (similar to class myCOBOLClass implements Runnable)? How would that look in COBOL?

Answer:

The answer is yes to all of the above.

Veryant can provide examples for each case upon request.

Authored by: Veryant Support on Wed, Sep 2nd, 2009 at 7:00 PM
This question has been viewed 6844 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=89

Powered by PHPKB Knowledge Base Software