<p>1. Write, compile and run a java program which does the picomputation.<br/>a) without synchronization<br/>Here a sample output:<br/><img alt="" src="https://d2vlcm61l7u1fs.cloudfront.net/media%2F58a%2F58ad0920-50c1-431c-97b4-1532bf7a6a3a%2FphpNmqon5.png" style="height:139px;width:331px;" aria-describedby="d3f"/></p><p>b) with synchronized keyword<br/>c) with locks<br/>Here a sample output:</p><p><img alt=""