What is the difference between C++ & Java?

Answer Posted / radhika

c++ is not purely object oriented language .but Java is from 1.5 version ,it is purely object oriented language.
c++ is a language . Java is a language,and platform also.
c++ is platform dependent . Java is plat form independent .
c++ doest satisfy real time real time entities. but Java satisfies .
Java is more secured compare to c language because of rich hierarchic

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is role of void keyword in declaring functions?

570


Break statement can be used as labels in java?

550


What are 4 pillers of object orinted programming?

580


Explain about transient variables in java?

636


How garbage collection is done in java?

546






What is nested loop? What is dangling else condition in it?

572


What is function declaration?

522


What is a marker interface?

573


Is void a wrapper class?

529


How to retrieve data from database in java using arraylist?

522


How to sort an array from smallest to largest java?

538


Can we sort arraylist in java?

557


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

1795


Can you create an object of an abstract class?

547


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

585