/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	static String somestring = null;
	
	public static void main (String[] args) throws java.lang.Exception
	{
		
		System.out.println("1. : " + somestring);
		new Thread(new Runnable(){
			public void run(){
				try{
				Thread.sleep(500);//fake doing the job
				} catch (Exception e){
					e.printStackTrace();
				}
				somestring = "set";
				System.out.println("2. : " + somestring);
			}
			}).start();
		System.out.println("3. : " + somestring);
	}
}