aspose file tools*
The moose likes Mock Exam Errata and the fly likes javacaps mock 2 Q:8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "javacaps mock 2 Q:8" Watch "javacaps mock 2 Q:8" New topic
Author

javacaps mock 2 Q:8

Haining Mu
Ranch Hand

Joined: Jun 01, 2001
Posts: 51

Answer: B,C
I think it is better to change question "what do you see" to "What is the result" , I didn't see anything on my screen for "Runtime error"
Rehan Malik
Ranch Hand

Joined: Jul 09, 2001
Posts: 76
Originally posted by Haining Mu:
[B]
Answer: B,C
I think it is better to change question "what do you see" to "What is the result" , I didn't see anything on my screen for "Runtime error"[/B]


You would see the "ArrayOutOfBoundsException" on the screen however, you wouldn't see "Runtime error". Runtime error is EXACTLY what happens when you try to run the program. A runtime error occurs. The question might be a little misleading since it asks what appears on the "screen". If we just look at it strictly, then ONLY "ArrayOutOfBoundsException" appears to be a valid answer.
correct me if i'm wrong

Rehan Malik
Muhammad Farooq
Ranch Hand

Joined: May 08, 2001
Posts: 356
I dont think you can define a constructor with hte return data type.
--Farooq


Muhammad Farooq<br />Sun Certified Programmer for Java 2 Platform<br />Oracle8i Certified Professional Database Administrator
Muhammad Farooq
Ranch Hand

Joined: May 08, 2001
Posts: 356
Please disregard my last posting, I got it now thats the method not the constructor.
--Farooq
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javacaps mock 2 Q:8