| 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" }; }
|
 |
 |
|
|
subject: Error again ( 4th time, same site ) Mr. Hareet! What will you say?
|
|
|