Aristocrat interview question

basic multi threading, oops & core java part