0

Make an array with 5 different greeting as element each time your app start up, a random6 greeting should be displayed

Java arrays

18th May 2019, 3:53 PM
Helena
3 Réponses
+ 1
arr[Math.floor(Math.random()*arr.length) ]
18th May 2019, 4:13 PM
Gordon
Gordon - avatar
0
I don't understand
18th May 2019, 4:20 PM
Helena
0
Java
18th May 2019, 4:38 PM
Helena