Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   I wanna know the differences between C++ n JAVA! (http://www.go4expert.com/forums/i-wanna-differences-cpp-n-java-t22578/)

Chantheeya 28Jun2010 19:48

I wanna know the differences between C++ n JAVA!
 
Hi!!
I have started learning JAVA just now... I know nothing more than few simple programs in JAVA n the information that it is a very popular language...... But as i write the program, i find it very lengthy n difficult than C++.... So i just want to know what is it in JAVA that is so special...? What makes it a very popular language? How is it different from C++ in a better way? :surprised :confused: :ponder:

shabbir 29Jun2010 08:24

Re: I wanna know the differences between C++ n JAVA!
 
There is actually no similarity apart from the fact that both are termed as OO languages.

One of the article which I think you should read is Inheritance In C++ Vs Java

Manojbijnori 29Jun2010 12:56

Re: I wanna know the differences between C++ n JAVA!
 
Differences between C++ and Java are ---
1.In C++ there is use of pointer whereas in Java pointer is not used
2. Java does not directly support Multiple inheritance (use interface) where as C++ support
3. Java is pure Object oriented language where as C++ is not
4. Java is more Secure and robust then C++.

shabbir 29Jun2010 18:28

Re: I wanna know the differences between C++ n JAVA!
 
No Java is not pure OO language as far as I know.

Again Robustness depends on programming and not on language. You can say as C++ has pointers it is more prone to user errors than Java.


All times are GMT +5.5. The time now is 11:35.