wood burning stoves 2.0*
The moose likes Mock Exam Errata and the fly likes Error again ( 3rd time, same site). Mr. Hareet! Come on! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Error again ( 3rd time, same site). Mr. Hareet! Come on!" Watch "Error again ( 3rd time, same site). Mr. Hareet! Come on!" New topic
Author

Error again ( 3rd time, same site). Mr. Hareet! Come on!

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 Code C and Code D.
But Code C will not compile (Compiler will say- ; expected).


SCJP 5
Ashish Hareet
Ranch Hand

Joined: Jul 14, 2001
Posts: 375
assert( i > 0 ) needed a semi colon, try
assert( i > 0 );

Thanks for all your feedback.
 
Don't get me started about those stupid light bulbs.
 
subject: Error again ( 3rd time, same site). Mr. Hareet! Come on!
 
Similar Threads
Error again ( 4th time, same site ) Mr. Hareet! What will you say?
SCJP 5: Mock questions
Generics SCJP 1.5
Error in a Mock Test
Error again ( 2nd time, same site ). Mr Hareet! Where are you?