Java
You are writing a program to handle courses. Each course has anArrayList containing student numbers stored as Strings. You wouldlike to know how many students two courses have in common. Write amethod that takes in two ArrayLists and returns an int thatrepresents the number of items the two ArrayLists have incommon
Expert Answer
An answer will be send to you shortly. . . . .