May 26th, 2012, 5:47 pm
This is an interview question, the interview has been done. Given a class A with members of Class B and C. If an exception happens in class C's constructor but the program can still work well, what is the reason ? My answer:The class C's constructor is not implemented by A. Or, A does not have some instructions to perform some operations on class C. Exception is not an error. Exception handler function handle it well. Any better ideas ? thanks !