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 are the different types of qualifier in java?
How do you explain polymorphism?
What are main features of oop?
What are oops functions?
What is the point of polymorphism?
officer say me - i am offered to a smoking , then what can you say
why reinterpret cast is considered dangerous?
class type to basic type conversion
What is the problem with multiple inheritance?
What is polymorphism oop?
Why is abstraction used?
What is property in oops?
Explain the advantages of inheritance.
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What are the 3 pillars of oop?