How many ways can a thread be used?
Answer Posted / harsha
The thread implemented by using runnable interface is more
advantageous. The other way of using a thread is by
inheriting from the Thread class.
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is a class loader? What are the different class loaders used by jvm?
What’s jboss jbpm?
What is the purpose of the notify() method?
the same information whether it will connect to the database or it will be used previous information?
Write a singleton program?
Explain what is synchronization?
What state does a thread enter when it terminates its processing?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
Is a class a subclass of itself?
What is the difference between the font and fontmetrics classes?
What modifiers may be used with an interface declaration?
Which are the different segments of memory?
Will the general public have access to the infobus apis?
Explain about thread synchronization inside a monitor?
what are getters and setters in Java with examples?