Friday, October 2, 2009

C++ vs Java

Java-- garbage collection..
C++ no collection...

Java-- No virtual keyword.. Java has equivalent final keyword but notion is opposite...
i mean in java we have to explicitly say final but in C++ we explicitly say virtual....
[credit.. Will]
C++ Virtual keyword

Java-- Package
C++ Namespace

Java-- No operator based polymorphism
C++ Polymorphism

Many other.... will write later... Tried a bit now...

No comments:

Post a Comment