ThreadTestd.java - Showing 4 threads
sharing an instance of a Point class.
The code is designed to show data collisions.
ThreadTeste.java - Showing 4 threads
sharing an instance of a Point class.
The code shows the use of the keyword synchronized to
avoid data collisions.