Sagitec Solutions interview question

questions on exception handling in java and C++