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 [support@veryant.com]
Online URL : http://support.veryant.com/support/phpkb/question.php?ID=89
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.
Back to Original Question