I can identify the following differences between Java and C++:
- Java employs both a compiler and an interpreter, whereas C++ employs solely a compiler.
- Java compiles to byte code, but C++ compiles to machine language.
- C++, unlike Java, contains pointers (?).
- In C++, the programmer must be concerned with clearing the allocated memory, but in Java, the Garbage Collector handles the unwanted/unused variables, but what about Applets? What distinctions can I make between C++ and Java?
I'm studying for an exam, and my professor sent us a "Study Guide" with the following question:
"Explain three ways in which an Applet differs from a conventional C++ program."
I understand the fundamental differences between Java and C++; I simply don't know what to write about Applets and C++. For me, it's an odd analogy. I read this blog to learn the distinction between an applet and an application.
He also inquired about the differences and similarities between the two languages, namely Applets versus C++.