Professional Documents
Culture Documents
CD
CD
import java.util.*;
if(group1.contains(self)&& group2.contains(self)) {
System.out.println("You have the same birth month with your
classmate!");
}
else {
System.out.println("You don't have the same birth month with your
classmate!");
}
}