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.
Article ID: 89
Created: September 2, 2009
Last Updated: September 2, 2009
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=89