Which of the following methods can be used to draw the outline of a square within a JAVA.awt.Component object?
1. fillRect()
2. drawRect()
3. drawLine()
4. drawPolygon()
1
1, 2, 3 & 4
2
1, 3 & 4
3
2, 3 & 4
4
1 & 4
Which of the following methods can be used to draw the outline of a square within a JAVA.awt.Component object?
1. fillRect()
2. drawRect()
3. drawLine()
4. drawPolygon()