Java不支持抽象类的多重继承,但我正尝试在C++中做类似的事情:public abstract class Rectangle{printEachElement();}
public abstract class Array extends Rectangle, Container{ //this can't be done in Java</em
我听说了C++的placement new operator。我搞不懂它是什么。但是,我可以看到它可以在stackoverflow中的问题下使用。我也不明白在java中有没有这个。所以我的问题非常精确:什么是placement new运算符,我们在java中有没有类似的东西?
请注意,不要与其他关于stackoverflow的问