SRDT Pvt. interview question

Find the common elements between two array and oops concepts ?