The G is not the only train connecting Brooklyn and Queens directly, though it is the only such line to go to LIC. The J goes directly from Queens to Brooklyn before Manhattan, as do the A and the M. There is also the Atlantic branch of the LIRR, which connects Brooklyn, Queens, and Nassau county (though the fares are higher).