There is a question which states that $\operatorname{Spec}(\mathbb{C}[x,y]/(xy))$ consists of three prime ideals: $0, (x), (y)$
I want to find irreducible and connected components of $\operatorname{Spec}(\mathbb{C}[x,y]/(xy))$.
Here is another question, without an answer till now, concerning irreducible components of $\operatorname{Spec}\mathbb{C}[x]$.
Looks like the answer here is: $(x), (y)$ are irreducible components and $(x)\cup (y)$ is the connectivity component. I have inferred it from the picture of a cross on a plane, where $(x)$ coincides with horizontal line and $(y)$ with the vertical one.
Could you give me a recipe of finding the components in this case?
UPD: I have an idea: since I know the definition of Zariski closed set, then I can write down the inclusions explicitly and check the components by hand.