Q. java.awt.Component class method getLocation() returns Point (containg x and y cordinate).What does this x and y specify

  • (A) Specify the postion of components lower-left component in the coordinate space of the component's parent.
  • (B) Specify the postion of components upper-left component in the coordinate space of the component's parent.
  • (C) Specify the postion of components upper-left component in the coordinate space of the screen.
  • (D) none
πŸ’¬ Discuss
βœ… Correct Answer: (B) Specify the postion of components upper-left component in the coordinate space of the component's parent.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
148
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
95%
Success Rate