STG interview question

OOPS concepts with examples Add two array