plz help me out ...i have a big confusion about g01 gcode.

if i have this command

G01X02Y02F100

then what does it mean???

i think it means that first tool move 2 inches or mm in x direction by the motor of x axis then tool will move 2 inches or mm in y direction through the motor of y axis and and reach at (2,2)???

or it means that both motors (motor of x and y axis both) move simulatneously and the tool will move in diagonal line at an angle of 45degree and reach at (2,2) ???