(a) In Java, pixel co-ordinate (0, 0) is located at the exact centre of the monitor. (b) In Java co-ordinates, x values increase from left to right. (c) In Java co-ordinates, y values increase from bottom to top. (d) The first two arguments of method drawRect in class Graphics specify the co-ordinates of the centre of the rectangle. (e) Assuming that g is an instance of class Graphics, then g.fillLine(10, 20, 30, 40); will draw a line from (10, 20) to (30, 40).
drawRect
Graphics
g
g.fillLine(10, 20, 30, 40);
Select all correct answers.