Java: Basic Test 1 - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Sample Question from this online test:

Question: Thread class is defined in the package ______

Option A: java.lang

Option B: javax.swing

Option C: java.awt

Option D: None of these

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

Start this Test


srikanth vusikarla on 2009-06-24 09:36:10 wrote,

see 19th question

Rajesh Kumar Gupta on 2009-06-26 09:25:17 wrote,

@srikanth vusikarla,
thnkx for commenting, i hav correct it.

Varun Mishra on 2009-08-17 08:18:21 wrote,

This test is quite easy, i was not expecting this much score even this is my first online test on

leela pusuluri_prasad on 2010-07-31 12:53:33 wrote,

the questions are good and also thankful to your encouragement

vinita rai on 2010-11-01 05:36:25 wrote,

plz explain how "true" option is correct in ques14

anil gagan1 on 2010-11-10 09:11:31 wrote,


praveen kumar on 2010-11-18 08:01:50 wrote,

good set of java basic.

rasmikanta nayak on 2011-01-15 18:30:24 wrote,

nice q.s

sachin rathore on 2011-01-25 06:02:12 wrote,

good exercise...

syed abdul on 2011-03-01 10:35:06 wrote,


shiva yadav on 2011-03-02 17:47:32 wrote,

it is a nice test

Akhilesh Thakur on 2011-03-17 10:44:59 wrote,

Thanks for the test...
and please check the question3..i guess keyworks can also b called reserve words

Amit Puri on 2011-03-21 17:11:12 wrote,

Plz explain how true option is correct in question no. 14

jegatheesh m on 2011-03-22 13:42:25 wrote,

good test and it really gave me confidence to proceed..

kumar d on 2011-04-20 06:21:40 wrote,

i need more practise i got 75% its better having programs also

Sukhil S S on 2011-04-23 08:32:00 wrote,

Nice questions...

santhoshkumar jaina on 2011-04-24 06:28:19 wrote,

it seems to be very easy but tricky bits from awt.
awt bits made me difficult...

Anshul Gupta on 2011-04-27 06:12:30 wrote,

the test is good and it gives confidence and also clear the basics...

sravya m on 2011-05-18 10:58:22 wrote,

9th que ...actually v vl b allocating memory for objecs using constructor nd vl b deallocating using destrctors ..can any 1 xplain me hw iz it posibl.......

geeta reddy on 2011-05-19 06:02:05 wrote,

Its a nice test
i am explaining the 14th ans we can declare any number of methods in a class and can define those methods by using variables

Ketan Parmar on 2011-05-26 12:50:23 wrote,


selvasuresh soundar on 2011-06-02 06:30:16 wrote,


sandeep joshi on 2011-06-06 10:58:49 wrote,

yeah i got cleared

nahesh royal on 2011-06-08 13:22:14 wrote,

thankq sir

krishna yadas on 2011-06-14 17:36:31 wrote,

thank u, but it is easy i need more difficult questions

praveen b on 2011-07-01 09:53:21 wrote,

its nice test...
test your self very easily

ram m on 2011-07-08 14:24:22 wrote,


shankaranarayanan padmanabhan on 2011-07-11 11:25:26 wrote,

great test need more like this on advanced java

Nicky Ranglani on 2011-08-20 19:56:20 wrote,

yeah...85%...!! But need more hard tests..!!

Sanjay Gupta on 2011-09-25 13:47:13 wrote,

thanks for the test.....................

satchit nisanka on 2011-09-25 21:22:28 wrote,

in q-9...finalize is used to execute something that has to be executed even if there is an do not have any method to destroy any object like c/ java it is automatically done by garbage collector which one of the reason why java is a pure oop

Jobseeker 2121 on 2011-10-12 19:13:18 wrote,

Nice Test!!

eswaran mani on 2011-10-17 17:59:28 wrote,

wow!...............great test

ffd ffd on 2011-10-18 10:37:00 wrote,

16 of 20 nice one for the ist tym...

JAYKAR JAGATAP on 2011-10-19 15:50:05 wrote,

just i find where i am?

Muhammed Thaha on 2011-12-12 03:46:13 wrote,


rajani movva on 2012-01-20 11:01:46 wrote,

i like the test much
,got nice marks in first attempt need to practice and attend more tests

rajani movva on 2012-01-20 11:04:22 wrote,

can i have topic wise test& can we choose the difficulty level by our selves

balamurugan balan on 2012-01-20 11:57:11 wrote,


maemo khloe on 2012-03-05 19:56:08 wrote,

nice test.....wanna do more

pardeep swami on 2012-03-15 13:52:57 wrote,

i enjoy it. very good test

shahanaz sk on 2012-03-31 04:09:32 wrote,

nice test.i wanna do more.....

Santosh Sunagar on 2012-04-10 08:54:33 wrote,

Good test

Alok maurya on 2012-04-12 11:08:29 wrote,

good test

sateesh ingole on 2012-04-17 05:53:20 wrote,

good one to test ur knowledge

vikash chandrol on 2012-05-19 19:13:04 wrote,

thanks i got 95% in this test

shalini P on 2012-07-05 10:54:51 wrote,

Good exercise,But i need programs also.......

ranga chary on 2012-07-30 11:34:21 wrote,

Nicde...but better to give prgs also........

kiran reddy on 2012-09-04 05:44:36 wrote,

nice fundamental concept in java ,

rahul arjun on 2012-09-04 06:25:24 wrote,

thanks for the test....

Poojita Vaka on 2012-09-18 09:48:26 wrote,

Good work..,

Sachin R Poojari on 2012-09-21 16:58:58 wrote,

it was a gud test ! thanx for it ! AUTHOr :)

Raju bhansali on 2012-10-04 12:34:59 wrote,

nice will help to increse my confidence level

Bhawna Suman on 2013-02-03 16:13:28 wrote,

question 9 is a little bit doubtful!!!

veerendra pandey on 2013-02-08 11:52:48 wrote,

nice way of putting questions ,,,,,,,,,,,,,benefecial for us

Harish kumar on 2013-02-28 15:48:33 wrote,

thanks for collection of such questions

Anilkumar Bathula on 2013-04-23 15:22:41 wrote,

Nice One, Very Useful for Freshers

shubham kumar on 2013-05-06 04:32:24 wrote,


monee kieran on 2013-05-11 12:52:05 wrote,

finalize()is used to perform some action by the object when it is collected by gc() if a object is holding some resources dat needs to b freed!!

monee kieran on 2013-05-11 12:52:05 wrote,

finalize()is used to perform some action by the object when it is collected by gc() if a object is holding some resources dat needs to b freed!!

Rajani Cd on 2013-08-25 08:55:46 wrote,

thx .its a good practice test.

Adlin sinthiya on 2013-09-05 11:43:10 wrote,


vishal dede on 2014-06-07 13:46:03 wrote,

Best test...

sourav das on 2014-06-16 19:10:56 wrote,

thanks i got 80% in this test, But need more hard tests..!!

snehal bisan on 2014-10-06 09:08:50 wrote,