Difference between c++ and java………

1) C++ supports pointers whereas Java does not

2) C++ supports operator overloading,multiple inheritance but java does not.

3) Java is platform independent language but c++ is depends upon operating  system, machine etc.

4) Java uses compiler and interpriter both and in c++ their is only compiler

5) C++ is more nearer to hardware then Java

6) java has premitive data type like boolean which are not available in c++



About Dinesh

I am engineering student........ I am selected in Microsoft Student Partner as MSP............

Posted on December 29, 2011, in C++, Java, Knowledge. Bookmark the permalink. 1 Comment.

  1. Very good information… thanks for sharing…

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: