Question
Described synchronized methods and synchronized statements in java programming?

Answers

Synchronized methods are methods that are used to control access to an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to synchronized methods. A synchronized statement can only be executed after a thread has acquired the lock for the object or class referenced in the synchronized statement.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q What is the meaning, the advantages and which are the types of evaluate statement?
  • Q Explain the operation of a centrifugal purifier.
  • Q What is an Activity Type? For each Work Center what are different activity types that can be performed
  • Q What is homeostasis? What are the sensors, controllers and effectors of homeostasis?
  • Q Describe various components of a manuscript needed in publication or a dissertation.
  • Q Steps In starting boilers.
  • Q Are you a good listener?
  • Q Caching techniques in .NET
  • Q Why do I get 800A0E7C errors?
  • Q Errors while monitoring process chains.
  • Q When object is said to be moving with constant speed?