Java and c a Comparison

Java and c++ a Comparison. Java and C++ are two widely used programming languages. C++ is based off the predecessor language C, which was developed in Bell labs, at ATT. C is still widely used in systems programming, but C++ has taken its place in mainstream applications. Things such as Internet browsers, word processors, and math software are now written in C++. Java was invented in the early 1990s and was originally designed as a language for the Internet. A big deal was made about Java, until it was realized that it wasnt the best thing since sliced bread for Internet programming. ... Java script, another popular Internet scripting language, is based off Java and is now widely used for client side and server side scripting. Java has gotten a place in large-scale enterprise applications, especially when dealing with databases and data transaction. Java was based off of C++s syntax, which is the words and symbols a language is represented with. Java is object oriented, just as C++ is. C++ and Java are similar in fundamental ways, but are not designed to be used for the same thing. The syntax in Java and C++ is quite similar. ... For example, both C++ and Java use the { to represent the start of a code block, and } to end a code block. ... = q ++ q -- Both Java and C++ support object oriented programming. ... The fact that C++ supports object oriented programming, and c does not is the reason a lot of programmers have switched to C++. The fact that Java supports object oriented programming is part of the reason it has become popular. ... Java is slower then C++. Java runs in a (JVM), Java virtual machine. This means that Java is compiled down to an intermediate code. ... This means that when java programs are distributed people cannot read the Java programs. ... A program can be written in Java, compiled on Windows, and ran on a Mac. With languages like C or C++, one must recompile it on whatever platform they want to run it on. ... When C++, is being used the programmer must program the 386, or PowerPC. When programming Java, the programmer has to program for the (JVM). ... This is not possible with C++, where many hours are often required to get something to run on another machine.

Essay Information


Words: 1864
Pages: 7.5
Rating: None

All Papers Are For Research And Reference Purposes Only. You must cite our web site as your source.