Microsoft Interview Question
Software Engineer / DevelopersCouple of fixes to the list above -
1) both Java & C++ support multithreading
2) While Java bytecode is interpreted when it runs on the Java VM, Java code itself is compiled into bytecode (.java --> .class files)
Also worth noting: pre-1.4 Java did not support templates (aka generics) whereas C++ always did
Just to get the ball rolling
- Hemant March 07, 2006* Java does not include structures or unions because the class encompasses these other forms.
* Java does not support operator overloading.
* Java does not include a preprocessor or support the preprocessor directives.
* Java does not perform any automatic type conversions that result in a loss of precision.
* All the code in a Java program is encapsulated within one or more classes. Therefore, Java does not have global variables or global functions.
* Java does not support multiple inheritance.
* Java does not support destructors, but rather, add the finalize() function.
* Java does not support templates.
...