Please choose the correct ending to complete the given sentence: Computers and Electronics: [header] How to use graphics in a java applet [title] Use the drawline method of the graphics class. [step] The arguments to the method should be, in order, the first x coordinate, the first y coordinate, the second x coordinate, and the second y coordinate. The line will be drawn from the first x and y to the second.

Ending1: It is important that the graphics you use are specifically written for a cpu. In case of an open cpu, the first x coordinate when represented should be one of these, except for those which are grouped together in the t map. Ending2: There will not be any y coordinate in the equation here. Right-click on it to define it and then select " the x coordinate should appear here. Ending3: [title] The drop down arrow will guide your cursor along the subsequent steps. [step] Remember, the line will draw vertically from the bottom of the screen, the next part will be left unchanged. Ending4: Here is an example : [substeps] The line will be drawn from (10 , 20) to (50 , 60). [title] Invoke the drawrect method of the graphics class.

Answer format: ending1/ending2/ending3/ending4