Class knows how to print itself as per the requirement that if it's state is 'active'...