Roster Method ( Listing Method ) : Under this method, we just make a list of the objects of the set and put them within braces { }.
e.g. (i) If A is set of first five prime numbers, then A = { 2, 3, 5, 7,…