Mauro,
Only first class passengers were permitted into the gym. Before sailing, second class passengers were free to tour the first class areas of the ship and try out the latest exercise equipment. Theres a great photo of second class passenger Lawrence Beesley and a fellow passenger on the bikes in Titanic: An Illustrated History on pg.33