Understanding the word thread-safety and its importance in Java programming

Asked By 60 points N/A Posted on -
qa-featured

In five sentences, how do you understand the word thread-safety in Java programming? What are the steps to follow in order to perform a thread-safety in Java programming? What is the importance or how important is thread-safety to java programmers and programmers in general? Michael Antwi is my name from Ghana.

SHARE
Answered By 0 points N/A #200362

Understanding the word thread-safety and its importance in Java programming

qa-featured

Hello Michael!

Thread-Safety in java or any programming language can be as tricky as any other ways to create program. Thread-safety variables or class can be considered if you’ll be able to share and make use of these objects in different ways. Simply by inputting a single word or sets of characters and numbers and from it create a random options and operations. Creating a recursive method along the thread safe variable or class can be useful, recursive will continuously create repetitive actions using one variable. Let’s say you need to perform add, subtract and multiply a value to a number initiated in the program, thus making the value to be inputted performing mathematical operations makes it threa-safe.

Login/Register to Answer

Related Questions