Java Flow Control Programiz C Sharp