File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Marcus Green Mock #3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Marcus Green Mock #3" Watch "Marcus Green Mock #3" New topic
Author

Marcus Green Mock #3

Maria Garcia
Ranch Hand

Joined: Jul 14, 2002
Posts: 86
Which of the following statements are true?
1) The elements in a Java array can only be of primitive types, not objects
2) Arrays elements are initialized to default values wherever they are created using the keword new
3) An array may be dynamically resized using the setSize method
4) You can find out the size of an array using the size method
Answer is 2. But this is not the case whe the array is created within a method, right?


SCJP 1.4
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
Try creating an array in a method and seeing if the elements are initialized.
[ January 20, 2003: Message edited by: Marcus Green ]

SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Maria Garcia
Ranch Hand

Joined: Jul 14, 2002
Posts: 86
Thanks Marcus. Great Mock Exam!
Khurram Chaudhary
Greenhorn

Joined: Aug 08, 2002
Posts: 6
Marcus,
Can I consider the difficulty level of your exams equivalent to SCJP1.4.
I have been preparing for the exam for last 2 - 3 months on and off. But I cannot decide if I am ready for the exam. I got around 80% in your two mock exams and have not tried the third one yet(saving it for the last week). Can anbody suggest me how can I make sure that I will pass the exam.
Thanks
KC
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120

Can anbody suggest me how can I make sure that I will pass the exam.

Suggestion: Try answering questions on this forum.
By the way welcome to the Ranch.
[ January 20, 2003: Message edited by: Jose Botella ]

SCJP2. Please Indent your code using UBB Code
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marcus Green Mock #3