Q. Which of the following methods can be used to draw the outline of a square within a JAVA.awt.Component object?

  • (A) drawLine().
  • (B) fillRect().
  • (C) drawString().
  • (D) drawPolygon().
πŸ’¬ Discuss
βœ… Correct Answer: (A) drawLine().

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
160
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate