Description
Identify three advantages of using object-oriented programming and explain the manners in which objects can be shared between programming languages.
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.
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
The Trial
by Franz Kafka
The Prince
by Niccolò Machiavelli
The Outsiders
by S.E. Hinton
The Great Gatsby
by Francis Scott Key Fitzgerald
Of Mice and Men
by John Steinbeck
Dr Jekyll And Mr Hyde
by Robert Louis Stevenson
Harry Potter and the Sorcerers Stone
by J. K. Rowling
Fools Crow
by James Welch
The Mayor of Casterbridge
by Thomas Hardy