What is the difference between C++ & Java?
Answer Posted / mustafa daudi
*Java Supports dynamic memory allocation due to dynamic
allocation there is no wastage of memory..
While in c++ there is wastage of memory.
*Java is exensible because new class can easily added in
libraries while in c++ it is not possible..
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What do you mean by ternary operator in java?
What is hashing in java?
What is bigger kb or mb?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Difference between start() and run() method of thread class?
Can we override private method in java?
How do you sort arraylist in descending order?
What is the symbol for line break?
What is variable declaration and definition?
Differentiate between a constructor and a method? Can we mark constructors final?
How do you detect memory leaks?
What are the states of thread in java?
What are reference variables in java?
What are the types of sockets in java?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?