Penguin
Note: You are viewing an old revision of this page. View the current version.

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.

C++ features:

  • Templates
  • Near compatibility with C
  • MultipleInheritance?
  • Many features designed to have zero overhead if not used
  • Manual MemoryManagement?
  • #include

Java features: