Choosing a random object

I’ve made a Pong game and I’ve just added power ups.

The game contains a class named PowerUps and a few specific power up classes which all extends PowerUps.
I would like to make a method that randomly picks one of all the power ups I’ve made. How would I make this and where should I place it?