Comparing C++ and Java Programming Languages

Comparing C++ and Java Programming Languages

  • Submitted By: Gucci
  • Date Submitted: 06/11/2010 1:13 PM
  • Category: Technology
  • Words: 764
  • Page: 4
  • Views: 699

C++ and Java Programming Languages:
Comparing C++ and Java Programming Languages


C++ and Java Programming Languages:
Comparing C++ and Java Programming Languages
History
C++ is one of the most popular programming languages used to develop computer applications. It is an object-oriented extension of the C programming language. The C programming language was developed AT Bell Laboratories in 1972 to help write the UNIX operating system (C++ For Business Programmers, pg. 2). C++ was designed primarily for systems programming. Today, there are many corporate computing departments that have implemented C++ as the language in which to develop in-house applications.
The Java programming language was developed from a language called Oak. Oak’s name later changed to Java. It was built at Sun Mycrosystems in the early nineties, where cofounder William Joy led a team of researchers in an effort to create a new language that would allow consumer electronic devices to communicate with each other. Basically, Java was developed as a platform-independent language intended for entertainment machines such as video games or portable devices with limited memory or limited processing capabilities. Java relies on a virtual machine to be secure and highly portable.
Differences
The two programming languages are both object-oriented; however, they differ in many ways. Codes in Java language is first translated by a compiler into instructions for a specific type of computer. The Java compiler instead turns the codes into a Bytecode, which is then interpreted by software called Java Runtime Environment (JRE), The JRE acts as an interpreter for the host computer. Due to this ability, Java codes can be written the same way for many platforms. In simple terms, you can write Java code once but run it anywhere.
Furthermore, even though C++ is a great and popular language it is complex. Java was intended to be simpler and easier to learn, but does not always offer you...

Similar Essays