What is the difference between C++ & Java?

Answer Posted / prabhu

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

BUT IN CASE OF JAVA IT WONT SUPPORTS THE ABOVE FEATURES

Is This Answer Correct ?    301 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is static a singleton?

513


Does substring create a new object?

519


What is the scope or life time of instance variables?

644


What are java methods?

560


What is flush () in java?

545






What is the purpose of garbage collection in java? When is it used?

527


What do you mean by synchronized non access modifier?

552


Is array passed by reference in java?

566


What is an exception? difference between Checked and Unchecked exception in Java

544


Give an example of use of pointers in java class.

554


Is array dynamic in java?

468


What is object-oriented programming?

557


What's the difference between int and integer in java?

521


From the two, which would be easier to write: synchronization code for ten threads or two threads?

603


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

742