SRDT Pvt. Interview Question

Find the common elements between two array and oops concepts ?