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.
15 Million Students Helped!
Sign up to view the full answer