Answers for "java how to initialize an array with values"

1

initialize array with values java

int[] arr = {3,6,9,12};
int[] arr = new int[]{1, 2, 3};
Posted by: Guest on January-15-2021
1

work with arrays java

new String[] { "A", "B"}
Posted by: Guest on September-14-2020

Code answers related to "java how to initialize an array with values"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language