Page 1 of 1

Write a public, non-static method that has two Sets of Strings as parameters. This method should return the subset of th

Posted: Mon Jun 06, 2022 11:18 am
by answerhappygod
Write a public, non-static method
that has two Sets of Strings as
parameters. This method should return the subset of these
two Sets, without altering the
original Sets, e.g.; set A could include "abc",
"def", "ghi" and set B could include "jkl", "def", "ghi", "pqr".
The subset should be "def", "ghi".
Solutions using looping will receive a grade of
0.