aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Thread run() call understaning;(self-learn) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Thread run() call understaning;(self-learn)" Watch "Thread run() call understaning;(self-learn)" New topic
Author

Thread run() call understaning;(self-learn)

Srinivasan thoyyeti
Ranch Hand

Joined: Feb 15, 2007
Posts: 557
Hi Ranchers,

Self learn these Objectives:

1. How Runnable run() executed by Thread class?
2. How our over-ridden run() method in Thread extending class called?
3. What happens when


4. What happens when MyThread class extends Thread and when
4.1 doesn't over-rides run(); and
4.2 instantiated like this
new MyThread().start();

try to evaluate these options.
Any doubts you are welcome.

This helps gain grip on OOPs concepts.

[ August 12, 2007: Message edited by: Srinivasan thoyyeti ]

Thanks & Regards, T.Srinivasan
SCWCD 1.4(89%), SCJP 5.0(75%)
Srinivasan thoyyeti
Ranch Hand

Joined: Feb 15, 2007
Posts: 557
Just I want to focus this thread so that some more ranchers will see
Srinivasan thoyyeti
Ranch Hand

Joined: Feb 15, 2007
Posts: 557
setFocus(this){

parse the questions;
understand inheritance;
understand polymorphism;

}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread run() call understaning;(self-learn)