Chapter 1 3
Chapter 1 3
1 N R 1 Modaltype
61 How can the Checkbox class be used to create a radio button in AWT? 1 N R 1 By associating Checkbox objects with a CheckboxGroup
62 How do you change the current layout managers for a container? 1 N R 1 Use the setLayout() method
65 How would you set the color of a graphics context called g to cyan? 1 N R 1 g.setColor(Color.cyan);
66 Identify the correct constructor of Font class? 1 N R 1 Font( String name, int fontstyle,int pointsize)
In applet, which of the following tag is used for accepting user defined
68 1 N R 1 Param
parameter?
69 In AWT Checkbox class is used to create __________ 1 N R 1 Checkbox and Radio buttons
73 In how many ways we can define the scrollbar? 1 N R 1 All of the above