This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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;

}
 
 
subject: Thread run() call understaning;(self-learn)
 
Similar Threads
Thread, Runnable and their run() method
Thread Question---start()
Overriding the start method of Thread Class
stopping a thread
syncronizing run() method