Set contains values only whereas Map contains key and values both.
Can you answer this question?
Write Answer1 Answers