What are synchronized methods and synchronized statements?
Answers were Sorted based on User's Feedback
Answer / tarunam verma
Syncronized methods are executed only after a lock is
acheived on the classes or objects specified in the methids
and after that the methids are executed
synchronized statements are the synchronised the bolck
containg the lock on some resource, statment in that block
are called synchronised statements
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sainaveen
Syncronized methods are executed only after a lock is
acheived on the classes or objects specified in the methids
and after that the methids are executed
Synchronized methods are executed after lock is acieved on
class or object specified in the synchronized statement
| Is This Answer Correct ? | 2 Yes | 2 No |
how we can implement interface in jsp ?
What are the methods used for inter-thread communication? and in what class these methods are defined?
What is RMI architecture?
Explain bind(), rebind(), unbind() and lookup() methods?
what is the proxy pattern?
Can I have an action without a form?
What is private static final long serialVersionUID = 1L;
diff between jsp include directive and jsp action include?
Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?
5 Answers HCL, Mobillo Venture,
What is a class loader?
In real time project when will we use Abstract class. and what are the difference between abstract and interface.
6 Answers DELL, FCS, Polaris, Tanla Solutions, TCS,
What are the benefits of detached objects?