Java List spliterator() MethodThe spliterator() method of List Interface creates a Spliterator over the elements in the given list. SyntaxParametersNA Specified by
Returns:The spliterator() method returns a Spliterator over the elements in this list. Example 1Test it NowOutput: Values : 1 2 3 4 5 6 7 8 9 10 Example 2Test it NowOutput: Name : Reema School : Gita Convent School Course : Java Name : Geetu School : Gita Convent School Course : Android Name : Saloni School : Eicher Public School Course : Java Example 3Test it NowOutput: Values : 12345678910 Next TopicJava List |
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