First page Back Continue Last page Graphics
General Similarities and Differences
Java similarity with C:
- simple data, expressions, and statements
Java similarity with C++:
- object orientation through classes
- code commenting
Unique to Java:
- Dynamic memory management support (garbage collection)
- GUI support
- compile-once, run anywhere (Java Virtual Machine)
- language support for interfaces (no multiple inheritance)