add () method of Set interface is used to add the given element into the collection HashSet. add() method returns a boolean value.
確定! 回上一頁