SCJP1.4(91%)
SCJP 1.4 100% @ Peking, China <br />~~~~~~~~~~~~~~~~~~~~~<br />但使龙城飞将在, 不教胡马度阴山!
But rest assured, the real exam questions are very well tested linguistically, so you'll have no doubts there. The wording is very clear so you'll know exactly what you're asked to answer.
SCJP1.4, SCJD, SCEA (in progress)
- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
What would be the answer if you changed the call of t1.start() to t1.run() ??
Alfred Raouf - Egypt - SCJP 1.4<br />Kemety.equals(Egyptian) // returns true
Originally posted by Alfred Kemety:
Levente, the 1.4 is new, still being revised, 1.2 has been there for quite a while... I think...
Originally posted by Arpana Rai:
The above Q is from Dan's exam.I answered 'g' as we cannot determine how the thread scheduler work.Giving the same reason correct ans given by Dan are "a,b,c,d"(all the possible outputs).
![]()
![]()
![]()
Someone plz tell me how to tackle such Qs.
thanx in advance
Arpana
What are the possible results of attempting to compile and run the program?
a. Prints: XYZ.
b. Prints: AYZ.
c. Prints: ABZ.
d. Prints: ABC.
e. Compiler error.
f. Run time error.
g. None of the above.
What is the result of attempting to compile and run the program? (Select 1)
a. Prints: XYZ.
b. Prints: AYZ.
c. Prints: ABZ.
d. Prints: ABC.
e. Compiler error.
f. Run time error.
g. Can not be determined.
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
SCJP1.4(91%)
Originally posted by Barkat Mardhani:
I have taken a break from Java for a while so this might sound very basic question:
sa is local array in main(). It's value (ie. xyz) is passed to the constructor of A class. So t1 object's sa is set to xyz. So why changing sa locally in main() would effect the value of t1.sa?
Thanks
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Consider Paul's rocket mass heater. |