What is the difference between C++ & Java?

Answer Posted / s.shanthi

The main differences between c++ and Java are that "The
features that are present in C++ are not present in Java.

1) Pointers.
2) Templates.
C++ SUPPORTS THE CONCEPT OF
1.POINTERS
2.TEMPLATES AND
3.VIRTUAL FUNCTIONS

BUT IN CASE OF JAVA IT WONT SUPPORTS THE ABOVE FEATURES
c++ is object oriented programming language but java is
purely object oriented programming language

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between float and double?

505


What is Java Package and which package is imported by default?

602


What is string pooling concept?

557


How will you reverse a link list without using recursion?

601


What does super keyword do?

562






I want to persist data of objects for later use. What’s the best approach to do so?

508


What are instance variables?

619


Why java applets are more useful for intranets as compared to internet?

580


Which java version is latest?

538


What is the default size of load factor in hashing based collection?

568


Can vector have duplicates in java?

511


What is meant by class and object in java?

559


What are use cases?

563


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

584


What is java abstraction with example?

561