package general;
class SharedObject{
void SharedMethod(String arg){
System.out.print("[");
System.out.print(arg);
try{
Thread.sleep(1000);
}
catch(InterruptedException e){...