If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Answer Posted / srinivas
by using currentThread() Method ,we can find which thread
is runing
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What are the rules for naming an array?
How can a gui component handle its own events?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is a data structure java?
Describe what a thread-local variable is in java?
What is the locale class in java programming?
Is string is a class in java?
What is the difference between @before and @beforeclass annotation?
What are the types of inner classes (non-static nested class) used in java?
What is class array in java?
What is float in java?
What is a method in programming?
Explain different types of thread priorities ?
What are void pointers?
What comes to mind when someone mentions a shallow copy in java?