hi everyone,
i am trying to write a java program that assigns a specified number of true values to random elements in an array. for example if i have a boolean array of 10 elements i would like 5 of these elements to be randomly assigned true values.
im new to java so this question will seem pretty silly to most of you but i would appreciate any help
thanks