Answer Posted / harish
There are two different ways to create a Thread. One is
extends Thread class and implement Runnable Interface.
Better to go for Runnable interface. It will have a method
run(). You should override in the sub class. Even, you
can extend another class to the same thread class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What method is invoked to cause an object to begin executing as a separate thread?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
Which component handles cluster communication in jboss?
What is the form of storage space in java?
What is the purpose of the notify() method?
What are the oops concept?
To identify IDL language what mapping mechanism is used?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
How will you pass parameters in RMI? Why do you serialize?
Explain RMI Architecture?
what is Activation Instantinator?
What is clustering? What are the different algorithms used for clustering?
What is a modular application?
What is the relationship between local interfaces and container-managed relationships?