Java: Miscellaneous - Online Test
Test Difficulty Level: Medium
Syllabus of Test
Miscellaneous questions from the Java Programming Language.
Sample Question from this online test:
Question: finalize() method works for..........
Option A: Memory allocation
Option B: For free the used memory
Option C: Both A & B
Option D: None of these
To answer, click the "Start This Test" button below.
Start this Test
Related Online Tests:
Comments
![]() | Praveen Chaturvedi on 2008-08-20 23:51:36 wrote, I think that question no 19 is not in its proper format or some portion of code is missing so this question should be reevaluated or if any flaw found in that question must be corrected. |
![]() | mohit dev on 2009-08-17 16:32:54 wrote, i think q 20 answer is abstract class link{ } |
![]() | ARKAJYOTI NAG on 2010-08-14 01:38:34 wrote, question 1.finalize doesnot free the memory allocated...it rathers helps garbage collector in doing so...abstract class can be subclassed. |
![]() | mohan raju on 2010-10-22 06:41:01 wrote, 20** |
![]() | suresh kumar on 2010-12-24 13:49:36 wrote, For 19Q Your answer is wrong, why bcoz u created a parameterized constructor for B class, but creating object with zero argument constructor. It will give compilation error. Check it once and correct it.. |
![]() | suresh kumar on 2010-12-24 13:50:41 wrote, 20Q answer final class link{}, check it once and correct it. |
![]() | nikhil verma on 2011-02-20 00:39:53 wrote, plz check out q19,q20..... |
![]() | manish agrawal on 2011-08-05 11:35:13 wrote, good questions but check last 2 ... |
![]() | jainendra pathak on 2011-12-28 23:17:52 wrote, These question's answer is wrong.Right answer is given below with question number. |
![]() | amitesh Tomar on 2012-01-24 03:43:45 wrote, Ques no.14,19 1nd 20 answers are wrong pls check it twice before submit it....this msg is for both rohit and getgyan team.... |
![]() | amitesh Tomar on 2012-01-30 04:13:50 wrote, ques 3,19,20 are wrong.... |
![]() | Ramakrishna Katteragandla on 2012-05-05 01:00:37 wrote, I think answer for 20th question is wrong provided by GetGyan. |


