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

Question ID : 89
Created on 2009-09-02 at 2:00 PM
Author : Veryant Support []

Online URL :


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?


The answer is yes to all of the above.

Veryant can provide examples for each case upon request.

Back to Original Question