| Author |
Error again ( 4th time, same site ) Mr. Hareet! What will you say?
|
Arijit Daripa
Ranch Hand
Joined: Aug 09, 2008
Posts: 142
|
|
Mr. Hareet! One of the questions in http://www.irixtech.com/java/scjp/mock-exam/practice-test-2 is Your answer is (a) and (c). (a) Java is allowing us to assign null to primitives! (c) Returning from a method with return type null!
|
SCJP 5
|
 |
Ashish Hareet
Ranch Hand
Joined: Jul 14, 2001
Posts: 375
|
|
Modified option b to be correct option public String[ ] getNameList( ) { return new String[ ] { "Him", "Me", "She", "I" }; }
|
<a href="http://www.irixtech.com/dynamic-quiz/java/scjp/all" target="_blank" rel="nofollow">SCJP 5.0 & SCJP 6.0 Topics based Mock Exams</a> <a href="http://www.irixtech.com/category/java/scjp-quiz" target="_blank" rel="nofollow">SCJP 5.0 & SCJP 6.0 Mock Exams</a><br /><a href="http://www.irixtech.com/forums/forums" target="_blank" rel="nofollow">iRix Forums for SCJP</a> <a href="http://www.irixtech.com/" target="_blank" rel="nofollow">iRix Technologies</a>
|
 |
 |
|
|
subject: Error again ( 4th time, same site ) Mr. Hareet! What will you say?
|
|
|