randomNumberClass with Constructor

has defalt constructor