Created
December 18, 2017 07:59
-
-
Save s16003/8a6e6f35816add75038320078ffe8f0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.stream.*; | |
class testFizzArray { | |
public static void main(String[] args) { | |
fizzArray3(5,10); | |
} | |
public static int[] fizzArray3(int start, int end) { | |
return IntStream | |
.range(start, end - 1) | |
.toArray(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment