how would i write this code in java using while loops and math random method
“A spinner for a game has four possible options: blue, red, yellow, green. The chance of landing on each option is equal. Write the section of code to simulate using the spinner 15 times and reporting the resulting color.”