This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes SCJP 310-025 exam question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "SCJP 310-025 exam question" Watch "SCJP 310-025 exam question" New topic

SCJP 310-025 exam question

Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
On the book SCJP Java 2 by Bill Brogden on page 82 is question or Project # 3.5
Can someone give the answer to it:
WHy the declaration of the method is not good:
public boolean doThissEvent(AWTEvent evt)
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
You know, you could actually write me with a question like that - thats why my address is in the book.
Project 3.5 is designed to teach you about looking up object hierarchy in the JavaDocs. It does not say that the declaration is "not good", it wants you to look up "all the different object types that could be passed to this method."
Every Java programmer should have the complete JavaDocs for the J2SE set up on the computer for quick reference, and should be familiar with looking up object hierarchies.
Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
Apologize Mr.Bill Brogden that I didn't send email to you. Btw. I like the book
I agree. Here's the link:
subject: SCJP 310-025 exam question
It's not a secret anymore!