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 abstraction in oop?
what is the drawback of classical methods in oops?
What does and I oop mean?
How do you achieve runtime polymorphism?
What is class in oop with example?
Can we override main method?
Why is destructor used?
What is encapsulation with example?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is the purpose of enum?
What is class and object with example?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is coupling in oops?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What are the data types in oop?