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

Explain about serializable interface in java?

578


What is the basic of java?

566


Explain about fail safe iterators in java?

560


Define immutable object?

575


Can we use catch statement for checked exceptions?

508






What is the difference between super class & sub class?

562


What is ++ a in java?

566


What is the main method java?

530


What is a pointer and does java support pointers?

555


What does the “static” keyword mean? Can you override private or static method in java?

621


What are predefined functions?

566


What is a linkedhashmap java?

545


How can we create an immutable class in java?

579


What are the differences between heap and stack memory?

543


How do you create a sop?

524