After many months, I have opened my Java workspace and saw my implementation of Class Level locking, which was inspired by Android's AsyncTask. Here is the source code... package com.somitsolutions.java.training.classlevellockingwithstaticnestedclass ; public class ExampleClass { public ExampleClass (){ } public static InnerNestedClass objInnerNestedClass = new InnerNestedClass (); static class InnerNestedClass { public synchronized void testMethod (){ try { for ( int i = 0 ; i < 10 ; i ++){ System . out . println ( "The testMethod for " + Thread . currentThread (). getName () + " Object" ); Thread . sleep ( 2000 ); } } catch ( InterruptedException e ) { // TODO Auto-generated catch block e .…