Skip to main content

Posts

Showing posts from September 28, 2025

Atomicity with Java Programming Language

 Atomicity with Java What is Atomicity Atomicity, in computer science, is considered to be a property [ALL-OR-NOTHING], that the state of a resource in an operation is not controlled by a different flow of execution at the same time [Even in time slicing operations] We know, Java is not pure object oriented programming language, due to primitive data types' design behavior. Most of the Java experts, while designing and developing applications thrives hard, to create, most secured applications considering " Atomicity in multi threaded application". Does Java language helps in developing Secured application..? The answer is no, Java programming language does not give secured applications at all, especially in multi threaded environment. As we know, Java supports 2 types of variables/data types.  Primitive data types User defined data types Primitive data types:       Java supports 8 different primitive data types. They are:   boolean    1 ...