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 |
life cycle of an applet?
Explain the methods of Naming class, rebind( ) and lookup()?
Explain lazy activation?
Which containers use a border layout as their default layout?
What is a modular application? What does module-relative mean?
Define prototype?
Why does most servlets extend HttpServlet?
Tell me about Firewalls in RMI?
if i know the lenght of collection in hand, should I use Array or Arraylist? justify
What restrictions are placed on the values of each case of a switch statement?
Suppose there are 3 combo box. SELECT COUNTRY SELECT STATE SELECT CITY if i select any country from country conutrylistbox values in the state will get automatically inserted with database values>> THEN on selection of state city will be inserted in city combo box If you can help then please Help me...
What are the different approaches to represent an inheritance hierarchy?