How are related Connected Component with Open-Closed Subset

248 Views Asked by At

I used to think that connected components were closed and open at the same time, but I discovered quite recently (italian page of Wikipedia) that this might not be the case.

What I'm asking for is:

  1. an example to illustrate why it is not the case (i.e. an example for which the connected component are not open);
  2. if there's some kind of statement or condition which specifies when they are open and closed.

Thank You