Consider a force F = -xi + yj. The work done by this force in moving a particle from point A(1, 0) to B(0, 1) along the line segment is
A) -1 J
B) 1 J
C) -√2 J
D) √2 J