Answer Posted / akshay
If there is a portion of code within a method or the
complete method that can be accessed by multiple threads,
that section of code is called critical section. To make
sure that only one thread can access critical section at a
time, we synchronize critical section. Synchronization is
the keyword to avoid concurrent access to critical section
of the code.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define the remote object implementation?
What must a class do to implement an interface?
What are the design considerations while making a choice between using interface and abstract class?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Write a singleton program?
How a component can be placed on Windows?
What is mdb and what is the special feature of that?
Can I have an action without a form?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
Is “abc” a primitive value?
Do I need to import javlang package any time? Why ?
What is the difference between the session.get() method and the session.load() method?
Explain how will the struts know which action class to call when you submit a form?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
Explain the advantages and disadvantages of detached objects.