Answer Posted / ranganathkini
synchronize is used on objects that will be used by
multiple threads to provide thread safety. It is used so
that concurrent threads get valid access to data to perform
their actions
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is an isolation level?
To what value is a variable of the string type automatically initialized?
What is metaspace?
What is in-memory replication?
what is Activation Instantinator?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is the diffrence between a local-tx-datasource and a xa-datasource?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is colon_pkg_prefixes and what is its use?
what are the advantages of JTA over JTS?
What restrictions are placed on the values of each case of a switch statement?
What is the difference between static and non-static with examples?
Explain what is synchronization?
Why are some of the class and element names counter-intuitive?
What is permgen or permanent generation?