Create a class RandomStar which models a star burst of randomlines radiating in all directions from a given point. Theconstructor takes the x, y coordinates of the center of the star,the maximum distance of the x and y coordinates of the radiatinglines from the center of the RandomStar, and the number of lines todraw.
The draw method takes the graphical context as a parameter. Itdraws the specified number of lines. Each line has one end point atthe center of the RandomStar. The other end has x and y coordinateseach of which are less than the maximum distance specified from thecenter.
Your output
PayPal Gateway not configured
PayPal Gateway not configured