my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes help 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 "help" Watch "help" New topic
Author

help

Jaffery Rab
Ranch Hand

Joined: Jan 18, 2002
Posts: 36
hey guys I have a question....
class Happy implements Runnable {
[ .... this code was removed because it is a question from the actual exam .... ]
}
then
System.out.println(check());
always give me false why???
[ do NOT post real exam questions -- please read this statement regarding this topic. ]
[ May 04, 2002: Message edited by: Jessica Sant ]
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
[ Edited because original question was from the exam ]
...... doesn't state that .... have to be .... nor does it say that .... What if you changed the run method to look like this:

I guess that would cause ......
I hope that helps,
Corey
[ May 04, 2002: Message edited by: Jessica Sant ]

SCJP Tipline, etc.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Jaffery-
Please do not post real test questions here. They will be removed. Please read this statement.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help
 
Similar Threads
Help!! Question Dan Chrisholm's garbage collection
"=" oprator question
A problem about IS-A
query regarding scjp 1.4 real exam
Format of questions on SCJP exam