Can I do the following in java without using external libraries? Maybe with if-else statements? thanks
import random print(random.choices([\'A\', \'B\', \'C\'],