Top Qs
Timeline
Chat
Perspective

Comparison of programming languages (object-oriented programming)

From Wikipedia, the free encyclopedia

Remove ads

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.

Remove ads

Object construction and destruction

More information construction, destruction ...
Remove ads

Class declaration

Summarize
Perspective
More information class, protocol ...
Remove ads

Class members

Summarize
Perspective

Constructors and destructors

More information constructor, destructor ...

Fields

More information public, private ...

Methods

More information basic/void method, value-returning method ...

Properties

How to declare a property named "Bar"

Manually implemented

More information read-write, read-only ...

Automatically implemented

More information read-write, read-only ...

Overloaded operators

Standard operators

More information unary, binary ...

Indexers

More information read-write, read-only ...

Type casts

More information downcast, upcast ...
Remove ads

Member access

Summarize
Perspective

How to access members of an object x

More information object member, class member ...
Remove ads

Member availability

More information Has member?, Handler for missing member ...
Remove ads

Special variables

More information current object, current object's parent object ...
Remove ads

Special methods

More information String representation, Object copy ...
Remove ads

Type manipulation

More information Get object type, Is instance of (includes subtypes) ...
Remove ads

Namespace management

More information Import namespace, Import item ...

Contracts

More information Precondition, Postcondition ...
Remove ads

See also

Notes

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads