notice and opportunity to be heard — Legal Definition, Examples & Cases