What is race condition ?? (Threading concept) TCS 2 sept10

Answer Posted / atasi

threads can try to update same data structure at same time,one thread can wrote one part,other tthread ca wrote another part,then all data struture garbles,when new thraed ca want to access it ,it will be crashed

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When can an object reference be cast to an interface reference in java programming?

589


What are the Static and Dynamic Variables? Differentiate them.

609


How do I start learning java?

565


do I need to use synchronized on setvalue(int)? : Java thread

561


Can It is possible to synchronize the constructor of a Java Class?

604






What is prefix of a string?

580


Can we override tostring method in java?

535


Can we assign the reference to this variable?

549


How does multithreading take place on a computer with a single cpu in java programming?

538


What do you know about java?

527


Write a code to show a static variable?

620


What is the purpose of using javap?

624


What is the difference between state-based unit testing and interaction-based unit testing?

500


Why java doesn’t support multiple inheritances?

592


Name some classes present in java.util.regex package.

612