C++ Versus JAVA

Platform dependent.Platform independent.
Mainly used for system programming.Mainly used for application programming.
Support multiple inheritances.Does not support multiple inheritance.
Support goto statement.Does not support goto statement.
Support operator overloading.Does not support operator overloading
Uses compiler only.Uses compiler and interpreter both.
Supports both call by value and call by reference.Supports call by value only.
Support structures.Does not support structures.
No built in thread support. Depends on third party libraries.Built in thread support.
Does not support documentation comment.Support documentation comments.