Question: what is not common in java and c++?
Answer: Java does not support pointers, unions, operator overloading and structure. C++ supports pointers, unions, operator overloading and structure. Java supports garbage collection. C++ does not supports garbage collection.