| Java | C++ |
|---|---|
| Specifically attuned to network and Web processing. | No relationship to networks or the Web. |
| Automatic garbage collection. | No automatic garbage collection. |
| Combination of compiled and interpreted. | Compiled. |
| Slower execution when interpreted. | Fast execution. |
| Architecture neutral. | Architecture specific. |
| Supports multithreading. | No multithreading. |
| Automatic generation of documentation in HTML format. |
No automatic documentation generation. |