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 polymorphism in oops with example?
What exactly is polymorphism?
Why do we use oops?
Get me an image implementation program.
What is a class oop?
What is abstraction in oops with example?
What is coupling in oop?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What does enum stand for?
What are the important components of cohesion?
What is static in oop?
Is html an oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is destructor oops?