Answers for "create string array python"

2

create an array string using for in python

a = ["a_" + str(i) for i in range(10)]
print(a)
Posted by: Guest on July-24-2021
2

create char array c#

char[] arr = new char[5];

arr[0] = 'a';
arr[1] = 'b';
arr[2] = 'c';
arr[3] = 'd';
arr[4] = 'e';

//OR
char[] arr = new char[] {'a', 'b', 'c', 'd', 'e'};
Posted by: Guest on May-21-2020
1

Java create array of array

String[][] arrays = new String[][] { array1, array2, array3, array4, array5 };
Posted by: Guest on February-18-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language