Computer Science, asked by tamil98, 1 year ago

which class provides many methods for graphics programming?
a.java.awt
b.java.graphics
c.java.awt.graphics

Answers

Answered by aman3102002gmailcom
13

option b java.graphics

Answered by mindfulmaisel
9

Answer:

Java.awt class provides many methods for graphics programming.

Explanation:

The class that provides various methods of graphical programming is java.awt. Some of the methods for graphical based programming are defined below along with its usage. They are as follows,

drawRect() – it has 4 parameters to mention the dimension of the rectangle. It is utilized for drawing rectangle from given height and width.

drawLine () – It also has four parameters and is utilized for drawing line using provided points between x1, y1 and x2, y2.

drawImage () – this Boolean function has four parameters used for drawing image, and so on.

Similar questions