Posts by user40803 • 63 points
1 post
-
5
votes3
answers394
viewsQ: What does it mean to assign Math.Random() > 0.5 to a variable?
What does that mean Math.random() > 0.5; in a boolean? Here is an example: class Pro { public static void main(String[] args) { int numero = 10; boolean[] array = new boolean[numero]; for(int i=…