I and my classmate discussed about the number of the connected components of a Lie group consists of matrices like
\begin{pmatrix} A & B & C \\ 0 & E & F \\ 0 & 0 & I \end{pmatrix}
Where A, B, ..., I are matrices of order n. I believe this Lie group has 2 connected components, since the determinants of the matrices are nonzero, but my classmate said that there are 8 connected components, since the determinants of each block matrices are nonzero. I wonder who is correct and why the other one is wrong?
To test your two hypotheses against each other, check what happens for $n=1$; that will refute one. Then try to prove the remaining hypothesis in general.