What is the difference between C++ & Java?

Answer Posted / dilip chaudhary

The main difference between c++ and java is that java is a
platform independent i.e. write once and run any where,but
c++ doesn't.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of bufferedreader?

536


What is jdbc api?

544


Can we create object of static class?

530


How to create com object in Java?

652


What is the purpose of a volatile variable?

561






What method is used to specify a container's layout in java programming?

547


What is the difference between a synchronized method and a synchronized block?

611


Why synchronization is important?

591


What is the size of a string in java?

549


Explain about abstract classes in java?

590


What is hashmap and map?

562


What is public static void main?

572


Is passing by reference faster?

526


Explain about method local inner classes or local inner classes in java?

575


What is main function purpose?

529