public static char getRandomColor (Random random) - Using the random. nextInt (6) method call generate a random integer value between 0 and 5. The character to return for a particular integer will be: 0 → 'R' 1 → 'G' 2 → 'B' 3 → 'Y' 4 → '*' 5 → '.'
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “public static char getRandomColor (Random random) - Using the random. nextInt (6) method call generate a random integer value between 0 and ...” in 📘 Business if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Home » Business » public static char getRandomColor (Random random) - Using the random. nextInt (6) method call generate a random integer value between 0 and 5. The character to return for a particular integer will be: 0 → 'R' 1 → 'G' 2 → 'B' 3 → 'Y' 4 → '*' 5 → '.'