Let $f$ be continuous on a compact subset $X$ of a metric space. If we put $A_h=\{x\in X:f(x)<h\}$ and $B_h=\{x\in X:f(x)\leq h\}$ - when is it true that $B_h = \overline{A_h}$? Is it true if and only if $A_h$ is not empty?
Edited: Theo already showed that there are counterexamples. Is it true then that $A_h = B_h^\circ$?