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

1 Objects and Classes

Java’s popularity is due to a number of factors. One of the biggest reasons is that it is a popular object-oriented language.

This sounds impressive, but what exactly is an object-oriented language? In fact, what is an object?

Simply put, an object is a collection of code organized to perform a function or simply to retain some information on behalf of another program. Objects are created and then used by programs to perform these functions on behalf of the other programs.

Object-oriented (OO) languages, and the object-oriented design approach, contain many ideas already familiar to you.

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