What class is needed for each of the following cases a drawi

What class is needed for each of the following cases?

a. drawing

b. create a GUI application

c. creating a Java applet

d. create an I/O window

Solution

a. drawing --------------------------------------- java.awt.Graphics

b. create a GUI application ------------------------ SWING classes javax.swing.*

c. creating a Java applet ----------------------------java.applet.* , java.awt.*

d. create an I/O window ----------------------------- java.awt.Frame, java.awt.window , java.awt.component

What class is needed for each of the following cases? a. drawing b. create a GUI application c. creating a Java applet d. create an I/O windowSolutiona. drawing

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site