AWT:Windows,Graphics And Fonts - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Questions based on the Abstract Window Toolkit(AWT)

Sample Question from this online test:

Question: How would you set the color of a graphics context called g to cyan?

Option A: g.setColor(Color.cyan);

Option B: g.setCurrentColor(cyan);

Option C: g.setColor("Color.cyan");

Option D: g.setColor("cyan’);

To answer, click the "Start This Test" button below.

Start this Test


shivanand yadav on 2009-11-01 13:18:31 wrote,

plz increse the complexity of qs.