O'Reilly logo

Java™ for COBOL Programmers, Third Edition by John C. Byrne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3 Messages and Methods

Let’s return to the object-oriented concept discussion. You can extend the COBOL example to explore some other Java concepts.

Image

A subroutine call can be viewed as a message, passed from one object to another.

When you called MYSUB from CALLER, you prepared some information (in TEXT-STRING) and asked MYSUB to evaluate it. In object-oriented (OO) terms, this is sometimes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required