Adding println() method to the AbstractQuestion class.