1.

Which of these method is used to remove all keys/values pair from the invoking map?(a) delete()(b) remove()(c) clear()(d) removeAll()The question was asked in unit test.This interesting question is from Java.util in portion java.util – The Collections Framework of Java

Answer»

The CORRECT ANSWER is (b) REMOVE()

Easy explanation: None.



Discussion

No Comment Found

Related InterviewSolutions