Java: AWT Components - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Computer Programming: questions based on the AWT Components.

Sample Question from this online test:

Question: A Frame’s background color is set to Color.Yellow, and a Button’s background color is to Color.Blue. Suppose the Button is added to a Panel, which is added to the Frame. What background color will be used with the Panel ?

Option A: Color.Yellow

Option B: Color.Blue

Option C: Color.Green

Option D: Color.White

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

Start this Test


Akansha Malhotra on 2009-02-27 23:05:44 wrote,

@Rajesh Gupta,
Good one .......... :-)

ganesh puli on 2011-05-14 03:08:58 wrote,

thank u very much
i want to attempt another test like in this way