Wab IT Software interview question

write a java program to print common elements between two arrays