what are depricated methods in threads and explain the
lifecycle methods
Answer Posted / ravikiran
stop(),suspend(),resume()
start()---will start a new thread of execution nd thread
will be in runnable state
run()-----will run the current thread of execution
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is used of static keyword in java?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What are the high-level thread states in java programming?
Explain the difference between runnable and callable interface in java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What are advantages of using Java?s layout managers than windowing systems?
Is 0 a prime number?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Is simpledateformat safe to use in the multithreaded program?
Tell me the latest versions in java related areas?
What is a native method in java programming?
Why java is said to be pass-by-value ?
Is special character in java?
What is xslt in java?
What are the common uses of "this" keyword in java ?