one child class can inherit its father\'s constants