answersLogoWhite

0

It can easily be explained by the fact that Java does not compile to object code. Java compiles to byte code that is suitable for interpretation by the Java virtual machine. C++ compiles to native machine code and therefore does not require interpretation of any kind. As a result, C++ programs run somewhat quicker than equivalent Java programs. However, because Java is interpreted, it is highly portable. Any machine with a Java virtual machine implementation (which is pretty much every device today) can run Java programs built from a single compilation. C++ requires that the code be written specifically for each platform and that the source be compiled separately upon each supported platform.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

Why java is platform independent explain by diagram?

Java is a platform independent language becoz of the bytecode magic of java. In java, when we execute the source code...it generates the .class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install.


How do you explain the computing environment in c language?

It is not possible to explain the computing environment in terms of a high-level programming language because the language is independent of the machine; it is the machine that defines the computing environment not the language. With high-level languages like C, the exact same source code can be compiled on any machine regardless of its computing environment. Note that the language itself is merely an abstraction; it allows us to express computations in a machine-independent manner. The implementation of the language is actually defined by the language compiler. Each machine type requires its own independent implementation, although a single compiler implementation can cater for a family of processors sharing a common architecture (such as 32-bit and 64-bit variations of the same architecture). The C language standard defines how computations should be expressed in the language itself, but it is the compiler's job to interpret these expressions such that every machine performs the computations as efficiently as the hardware will allow and produces consistent results regardless of the computing environment.


How does syntax affect setting?

Syntax is essential to any form of language. Without syntax, there is no setting, there is no way to explain it and no language. Language and setting are both comprised with syntax.


Explain pointer to function with example c language?

It isn't a question, sorry.


Is vbnet a SOA programming language or Object Oriented Programming Language?

Visual Basic is an Object oriented programing language, like C++. A good example of an SOA program language is C#. can you explain with reasons........? i agree with you .... I want to confirm the reason why it is so ...

Related Questions

Explain terms compile make debug and run?

"Compile" refers to the process of converting source code written in a programming language into machine code or an executable format that the computer can understand. "Make" is a build automation tool that manages the compilation process, handling dependencies and ensuring that only modified files are recompiled. "Debug" involves identifying and fixing errors or bugs in the code, often using debugging tools to step through the code and inspect variables. Finally, "run" means executing the compiled program to perform the intended tasks or operations.


The history of the dictionary who wrote the dictionary?

The first modern dictionary was compiled by Samuel Johnson and published in 1755, known as Johnson's Dictionary. It was a landmark in lexicography and language standardization. Since then, many dictionaries have been written by various authors and organizations to document and explain language.


Explain how to compile a list of devices installed on your system?

Device Manager will have a list of all devices installed on your computer.


How can you explain how poetry can be interpreted both mathematically and artistically?

Poetry can be interpreted mathematically by analyzing patterns like rhyme scheme or meter, while also being appreciated artistically for its emotional impact, imagery, and use of language. Both perspectives contribute to a richer understanding of the poem, allowing for different layers of meaning to be explored.


Explain The importance of language in explaining the changing approaches to mental disorder?

1.What is the importance of language ? 2.What is the kinds of language ? 3.What is the human language? 4.Explain between human language and animal commutation?


What are some synonyms of the word interpreted?

The word interpret means to explain. A few other synonyms for interpreted would be made clear, understood, defined, described, pictured, portrayed, revealed, and symbolized.


Explain the evolution of language as per human perception?

Language has evolved through interactions between our ancestors, shaped by the need to communicate information and ideas effectively. Over time, this led to the development of complex grammar, syntax, and vocabulary to convey nuanced meanings. Human perception played a crucial role in this evolution by influencing how language was understood, interpreted, and passed down through generations.


How do you explain accounting as a language of business?

Accounting is often referred to as "the language of business."


Why java is platform independent explain by diagram?

Java is a platform independent language becoz of the bytecode magic of java. In java, when we execute the source code...it generates the .class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install.


Explain the shortcomings of natural language specification?

1


Can you explain how figurative language affects the tone of a story?

it does not


What is one connection between Freud and Hamlet?

Freud's theory of the Oedipus complex might explain Hamlet's behavior.Hamlet's internal struggle has been interpreted as a resentment of parental authority.Hamlet's internal struggle has been interpreted as an Oedipus complex.