"Object-oriented Programming" Please respond to the following:

User Generated

crgvgfba

Computer Science

Description

Identify three advantages of using object-oriented programming and explain the manners in which objects can be shared between programming languages.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Some of the advantages of object-oriented programming include: 

1.Improved software maintainability: For the reasons mentioned above, object-oriented software is also easier to maintain. Since the design is modular, part of the system can be updated in case of issues without a need to make large-scale changes. 

2.Lower cost of development:The reuse of software also lowers the cost of development. Typically, more effort is put into the object-oriented analysis and design, which lowers the overall cost of development.

3. Higher-quality software: Faster development of software and lower cost of development allows more time and resources to be used in the verification of the software.

An object API can prescribe a specific object exchange format which is usable locally within an application, while an object exchange protocol can define a way to transfer the same kind of information in a message sent to a remote system.

When a message is exchanged via a protocol between two different platforms using objects on both sides, the object in a programming language can be transformed  in an object in a remote and different language: so, e.g., a program written in JAVA invokes a service via SOAP or IIOP written in C# both programs use APIs for remote invocation (each locally to the machine where they are working) to (remotely) exchange information that they both convert from/to an object in local memory.Some languages like those running in a virtual machine (e.g. .NET CLI Compliant Languages in the Common Language Run Time (CLR), and JVM Compliant Languages in the JAVA Virtual Machine can share an API. In this case, a virtual machine enables Language Interoperability, by abstracting a programming language using an intermediate bytecodeand itslanguage bindings. 




Anonymous
Excellent! Definitely coming back for more study materials.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags