SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
I usually do by taking one fragment and go through all the option and take the second fragment and go through all the option and so on...
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Originally posted by James Tharakan:
This question is from KS book...
With these kind of question , i consume lot of time.....
I usually do by taking one fragment and go through all the option and take the second fragment and go through all the option and so on...
Is there any other way of sloving these kind of questions...
[ December 02, 2008: Message edited by: James Tharakan ]
SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
SCJP6:80%, OCWCD 88 %
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
Fragment IV prints the same output because, it starts a new thread but it is calling run() method directly.It is not running the thread.It would have started the thread only if it calls the start() method.
SCJP6:80%, OCWCD 88 %
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |