aspose file tools*
The moose likes Mock Exam Errata and the fly likes Marcus exam 3 # 59 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Marcus exam 3 # 59" Watch "Marcus exam 3 # 59" New topic
Author

Marcus exam 3 # 59

Stewart Henry
Greenhorn

Joined: Jun 01, 2001
Posts: 4
Question is:

Broke up the last line to fix the scrolling .. Jane
I only choose option 1 because, to me, statement 4 does not make any sense. I know that you can construct a new MouseEvent with a constructor that takes a parameter as the time of the event. I don't know how to extract anything from a constructor. I think that if you want the time of the click you should call getWhen()
in the MouseEvent.
Also the explanation seems to be wrong. Perhaps this is a typo, or it is getting really late for me.

[This message has been edited by Jane Griscti (edited October 04, 2001).]
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Stewart,
You may be right. You can get the time of the event using getWhen(). Perhpas Marcus meant to point out that the time of the event is passed to the MouseEvent object when it is created.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
Janes assumption is correct, my question is misleading. How about this for a modified option 4
4) The time of a MouseEvent can be extracted using the getWhen method
What do you think?
Marcus
------------------
http://www.jchq.net Mock Exams, FAQ, Tutorial, Links, Book reviews
=================================================
Almost as good as JavaRanch
=================================================


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Marcus exam 3 # 59