Which of the following function gives an error if we deleted the unknown item that is not present in set.

Question:
Which of the following function gives an error if we deleted the unknown item that is not present in set.

1.discard()

2.remove()

3.Both of the above

4.None of the above

Posted Date:-2019-06-03 05:47:55


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!