Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Donna Thompson   on Mar 21 In Java Category.

  
Question Answered By: Herbert Weaver   on Mar 21

when you read the javadocs you will see that method  1 und 3 are static. So
you should access them in a static  manner. This means:
Thread.sleep(xx)
The setName is not static so you have to instantiate or get the correct
object before you call this method.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Threads - Basic question Or get search suggestion and latest updates.


Tagged: