1. On a roulette wheel, the pockets are numbered from 0 to 36, with an additional pocket numbered 00. The colors of the pockets are as follows:
路 Pockets 0 and 00 are green.
路 For pockets 1 through 10, the odd numbered pockets are red and the even numbered pockets are black.
路 For pockets 11 through 18, the odd numbered pockets are black and the even numbered pockets are red.
路 For pockets 19 through 28, the odd numbered pockets are red and the even numbered pockets are black.
路 For pockets 29 through 36, the odd numbered pockets are black and the even numbered pockets are red.
Write a class named RoulettePocket. The class鈥檚 constructor should accept a pocket number as a String. The class should have a method named getPocketColor that returns the pocket鈥檚 color, as a string.
Demonstrate the class in a program (RouletteDemo) that asks the user to enter a pocket number, and displays whether the pocket is green, red, or black. The program should display an error message if the user enters a number that is outside the range of 0 through 36.