Suppose $u$ is a real valued continuous function on $\overline{\mathbb D}$, harmonic on ${\mathbb D}$\ $\{0\}$ and $u=0$ on $\partial\mathbb D$, show $\mathbb u$ is constant in $\mathbb D$.
I'm going through old exams and I spent quite some time on this one without success. I think of using log$|z|$ first as an example. But it fails since $u$ is continuous on $\overline{\mathbb D}$. If we are working with holomorphic functions $f$: $\mathbb{C} \to \mathbb{C}$, $0$ is a removable singularity and everything works out. But I don't remember any similar technic to work with harmonic functions. Any help will be appreciated!
Hint: use the maximum principle for harmonic functions.
For the details, it depends a little on what tools you have available. Let me assume that you know the following theorem about removable singularities for subharmonic functions:
From the theorem, it follows that $u$ is (can be extended to be) subharmonic on $\mathbb{D}$, and so can $-u$. Hence $u$ is in fact harmonic on $\mathbb{D}$, so by the maximum principle $u = 0$ on $\mathbb{D}$.
Just in case, here is a proof of the removable singularities theorem: