Random is not a final class and can be extended to implement the algorithm as per requirement.
Previous Question Next Question
Your comments will be displayed only after manual approval.