实验三写完力(喜)
This commit is contained in:
@@ -12,6 +12,8 @@ public class HelloSet {
|
||||
}
|
||||
// ---------------------Begin------------------------
|
||||
hashSet.add("helloHashSet");
|
||||
hashSet.remove("cat");
|
||||
hashSet.add("fish");
|
||||
hashSet.remove("apple");
|
||||
// ---------------------End------------------------
|
||||
hashSet.forEach(ele -> System.out.println(ele));
|
||||
|
||||
Reference in New Issue
Block a user