The moose likes Mock Exam Errata and the fly likes Error again ( 4th time, same site ) Mr. Hareet! What will you say? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Mock Exam Errata
Reply Bookmark "Error again ( 4th time, same site ) Mr. Hareet! What will you say?" Watch "Error again ( 4th time, same site ) Mr. Hareet! What will you say?" New topic
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>
 
jQuery in Action, 2nd edition
 
subject: Error again ( 4th time, same site ) Mr. Hareet! What will you say?
 
Threads others viewed
Error in a Mock Test
IrixTech Mock Exam
SCJP (now OCPJP) 1.6 Exam No. 1Z0-851, how to prepare?
Error again ( 2nd time, same site ). Mr Hareet! Where are you?
Error again ( 3rd time, same site). Mr. Hareet! Come on!
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com