ZoomInfo Interview Question

How does Java handle two separate processes accessing the same method of the same object?