Issue
How can i print integer form 0 .. 100
without using any kind of manul loop or recursion ?
Solution
Simple way would be using
IntStream.range(0,101).forEach(::println)
Answered By - Saurabh Dhage
How can i print integer form 0 .. 100
without using any kind of manul loop or recursion ?
Simple way would be using
IntStream.range(0,101).forEach(::println)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.