In java, How to assign values to an array. We need to get random indexes from the array and set values to them.
I have an array of size 4. I need to put 0's and 1's on both halves randomly.
I'm having trouble on how to approach problem.
~Thanks
Aucun commentaire:
Enregistrer un commentaire