what is difference between c++ language and java language
Answer Posted / aakash
java codes looks very similar to that of c++,but there are
many differences.
1.java has no preprocessor or header files.
2.java has no global variables.
3.java has automatic garbage collection.
4.java has no pointers.
5.java has no goto statements.
6.java has no multiple inheritance,java use interfaces instead.
7.java has no destructor.
8.java has strict lenghs for primitive types.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the problem with multiple inheritance?
What is inheritance in oop?
What is difference between abstraction and encapsulation?
write knight tour problem which is present in datastructure
Can a varargs method be overloaded?
Why do we use oops?
What is a superclass in oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Why do we use encapsulation in oops?
What is object and example?
What polymorphism means?
What is inheritance write a program to show use of inheritance?
What is constructor in oop?
Explain the advantages of inheritance.
How to call a non virtual function in the derived class by using base class pointer