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 for loop and its syntax?
how to get the oracle certification? send me the answer
What is object in oop with example?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Why it is called runtime polymorphism?
c++ program to swap the objects of two different classes
Which language is not a true object oriented programming language?
program for insertion ,deletion,sorting in double link list
What is encapsulation in oop?
What are functions in oop?
What is use of overloading?
What is the benefit of oop?
Can we create object of abstract class?
Can a destructor be called directly?
Can you explain polymorphism?