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.