Tell us something about an iterator.
Answer / Girish Chandra Sharma
An iterator in Java is an object that allows you to access the elements of a collection (like Array, List, Set) and traverses through the collection sequentially. Iterators in Java are implemented using the 'Iterator' interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a vector contain heterogenous objects?
What is meant by Servelet? What are the parameters of service method?
Define a package.
What is the difference between an argument and a parameter?
When we should use serialization?
There are 100 keys and values in HashMap.how to get the keys and values?
Default layout of Dialog object?
How do you define a method?
What about anonymous inner classes in java?
5 Coding best practices you learned in java?
Can we declare static variables in JSP page.
Which container method is used to cause a container to be laid out and redisplayed in java programming?