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
Can we have any code between try and finally blocks?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
Does set allows null in java?
What are the different types of constructor?
Why Java doesn’t support multiple inheritance?
Does garbage collection occur in permanent generation space in jvm?
Is null keyword in java?
Define how destructors are defined in java?
What are the various access specifiers in java?
Differentiate between stringbuffer and string?
How to perform binary search in java?
What is the use of using enum to declare a constant?
When should I use singleton pattern?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
How to Sort Strings which are given in List and display in ascending order without using java api.