Question
Is ++ operator is thread-safe in Java?

Answers

No it's not a thread safe operator because its involve multiple instructions like reading a value, incriminating it and storing it back into memory which can be overlapped between multiple threads.   Your Comment




More Software,Java,operator 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 the purpose of . Operator?

Define scope resolution operator?

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?



Search
Can you Answer!!
  • Q Name the family and order of Leaffish ?
  • Q Shamanism is the religion of which people
  • Q Metals, in general are of low strength and do not possess required physio-chemical and technological properties for a definite purpose. Alloys are therefore more than metals alone. Discuss the arrangement of atoms and structures of alloys.
  • Q What is the function of the skin in humans?
  • Q What are the supported browsers for accessing firebase console?
  • Q What module is needed to connect to websphere?
  • Q How labour cost variance is measured ?
  • Q Abc works for "energy engineering works." apart from the regular compensation, the company provides him with things such as tuition reimbursement, recreational opportunities etc. What is the name given to these things of value?
  • Q BABE RUTH was a:
  • Q The Doctrine of Lapse was introduced by;
  • Q What is Connection pooling?Is it advantageous?