MathWorks interview question

Java/C++ : Balanced Paranthesis C++: Constructor, Copy Assignment, Destructor