We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd90286 + e30882e commit 416ca65Copy full SHA for 416ca65
README.md
@@ -563,7 +563,7 @@
563
implementation for each of these methods. Interfaces are implemented.
564
565
* **What is the difference between iterator and enumeration in java?**
566
- - In Enumeration we have remove() method and we can only read and traverse through a collection.
+ - In Enumeration we don't have remove() method and we can only read and traverse through a collection.
567
- Iterators can be applied to any collection. In Iterator, we can read and remove items from a collection.
568
569
* **Do you agree we use composition over inheritance?** [Learn from here](https://www.journaldev.com/12086/composition-vs-inheritance)
0 commit comments