Java ArrayList Iterator() methodThe ArrayList.Iterator () returns an iterator over the elements in this list. Syntax:Parameter:No parameters. Return:Returns "Iterator": returns an iterator over the elements in this list. Example 1Test it NowOutput: [d, dd, ddd, dddd, ddddd] d dd ddd dddd ddddd Next TopicJava ArrayList |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India