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
Can I use javascript to submit a form?
What is the difference between RMI registry and OS Agent?
What is permgen or permanent generation?
What is an abstract method?
What is ioc concept?
Is the ternary operator written x : y ? Z or x ? Y : z ?
How primary key is implemented in Oracle?
What must a class do to implement an interface?
what is handle?
what are the activation groupworks?
What is metaspace?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Are we allowed to change the transaction isolation property in middle of a transaction?
What do you need to set-up a cluster with jboss?
What are the benefits of detached objects?