Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What Is The Difference Between Object-Based And Object-Oriented?

0
10 Posted

What Is The Difference Between Object-Based And Object-Oriented?

0

Object-Based Programming usually refers to objects without inheritance [Cardelli 85] and hence without polymorphism, as in ’83 Ada and Modula-2. These languages support abstract data types (Adts) and not classes, which provide inheritance and polymorphism. Ada95 and Modula-3; however, support both inheritance and polymorphism and are object-oriented. [Cardelli 85, p481] state “that a language is object-oriented if and only if it satisfies the following requirements: • It supports objects that are data abstractions with an interface of named operations and a hidden local state. • Objects have an associated type. • Types may inherit attributes from supertypes. object-oriented = data abstractions + object types + type inheritance These definitions are also found in [Booch 91, Ch2 and Wegner 87].

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123