sachin
answered Sep 15 '21 00:00
Array.set() is used to set value at Array in Java and Android .
Array class provides static methods to dynamically create and access Java arrays.
String s[] ;
Array.set(s, 0, "test");
here Array.set() method have the first argument is the array object, the second argument is the index and the last argument is the value to set to that index