Comparison of programming languages (object-oriented programming)
This comparison of programming languages compares how object-oriented programming languages such as C++, Java, Smalltalk, Object Pascal, Perl, Python, and others manipulate data structures.ClassName = Class «(ClassParent, Interfaces)» private // Private members(include Methods and Fields) public // Public members protected // Protected members published // Published members end; END CLASS name.The implementation of methods is usually provided in a separate source file, with the following syntax END METHOD foo.How to declare a property named "Bar" END METHOD.METHOD-ID.SET PROPERTY bar.DATA DIVISION.LINKAGE SECTION.value-var declarationPROCEDURE DIVISION USING value-var.