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 pointer in oop?
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.
What is overriding in oop?
Why is polymorphism used?
What is the full form of oops?
to find out the minimum of two integer number of two different classes using friend function
Can we define a class within the interface?
What is polymorphism and types?
What is the types of inheritance?
Can you inherit a private class?
what is graphics
Can abstract class have normal methods?
What is the importance of oop?
How do you answer polymorphism?
program for insertion ,deletion,sorting in double link list