If you check the documentation over the object class in
JAVA java.lang.Object You will see that isInterrupted() is not a method of Object.
Checking the documentation over the
Thread Class will learn
java.lang.Thread that isInterrupted() is a method of the Thread.
Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,