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
Explain about RMI Architecture?
whats is mean by tiles in struts
What is threadfactory?
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.
When a thread blocks on i/o?
What is the RMI and Socket?
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
Which class is the immediate superclass of the menucomponent class?
whats is statement and procedure
Is a class a subclass of itself?
what are getters and setters in Java with examples?
Can I have an action without a form?
What if the static modifier is removed from the signature of the main method?
Brief description about local interfaces?
What is table mutation and how do you avoid it?