I was doing problems from Topology Without Tears and found this question.
I have a topological space $(X,\tau)$ such that all its subsets are closed. I need to show that $(X,\tau)$ is a discrete space.
I know that all the subsets of $X$ are clopen and subset $\phi$ is also clopen. Can this fact be used to prove the same?