Suppose a button jbt is placed in a frame, the coordinate of the button within the content pane of the frame is __.

Suppose a button jbt is placed in a frame, the coordinate of the button within the content pane of the frame is _______.


A. (jbt.getX(), jbt.getY())
B. (jbt.x, jbt.y)
C. cannot be obtained
D. (0, 0)

The correct answer is A


Java

Learn More Multiple Choice Question :