File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Type-o error in Sun Example Question 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Type-o error in Sun Example Question 8" Watch "Type-o error in Sun Example Question 8" New topic

Type-o error in Sun Example Question 8

Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi all,
The new Sun example questions site has, what I assume, is a type-o error. Question #8, Line 3 reads:
3. public class Test extend Frame {
Which will cause a compile-error (Answer A) but the correct answer as given on their site is B.
For those of you who have previously taken the exam, what's the chance of running into similiar scenarios in the actual exam?

Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
Mapraputa Is
Leverager of our synergies

Joined: Aug 26, 2000
Posts: 10065
One more question:
Sun's Question number 1

what is the purpose of little "i" at the end of line 2???
I tried to compile it and I can authoritetely say, correct answer is not b, correct answer is a - it fails to compile.
I wonder if these are typical NEW SUN's questions?

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Amit Punjwani
Ranch Hand

Joined: Jul 10, 2000
Posts: 50
Hi Jane,
There are 2 sample questions which are not framed properly. i just hope that new exam does not have such errors.
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Amit, Mapraputa ...
I totally missed that small 'i' in Question 1. I really hope the exam questions are cleaner although I guess there are bound to be one or two type-o's. Hopefully they'll find them all before we actually write
I agree. Here's the link:
subject: Type-o error in Sun Example Question 8
Similar Threads
Question in K&B Chapter 8
local variable initialization
Java Certification Report - a monthly Newsletter
negative numbers
Difference betn Error & Exception