What is an object?s lock? Give name of object?s that have
locks?
Answer Posted / guest
An object?s lock is a mechanism that is used by multiple
threads to obtain synchronized access to the object. A
thread may execute a synchronized method of an object only
after it has acquired the object?s lock. All objects and
classes have locks. A class?s lock is acquired on the
class?s Class object.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is null a string?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
can rmi and corba based applications interact ?
What is string in java is it a data type?
Which containers use a flowlayout as their default layout in java programming?
What does .equals do in java?
What are passing parameters?
What is user defined exception in Java?
What is java util list?
What are measurable parameters?
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.
Why a dead thread occurs?
Explain java coding standards for constants?
Can You Have Virtual Functions In Java?
What is append function?