Java and C++ are similar languages both encouraging users to develop employ ObjectOrientation. C++ is better suited to tailoring a program to the specifics of a particular environment whereas Java stresses portability and promotes approaches more suited to largescale application development.
Therefore C++ is more and more being used for smaller applications targeting a specific environment where splitsecond timing and the amount of space used are critical. Java is used mostly for largescale applications which are able to run in many different environments and where extensibility and longterm maintainability are critical.
2 pages link to JavaAndC++: