Singleton class in Java

Hello Everyone, I have completed my java certification and looking for job. My interview has been scheduled in upcoming week. I have covered lots of topics but remain few is left. Could anyone explain how can a class be made Singleton? I have mentioned code syntax. Can anyone check is it right syntax. I am so confused about this part. I have checked a few resources when i was searching java coding interview questions this is helpful to me for my upcoming interviews. Can anyone suggest me some more tips?

public class Singleton
{
public static void main(String args[])
{
Single obj1 = Single.getInstance(); /* both would point to one and same instance of the class /
Single obj2 = Single.getInstance();
}
}
class Single
{
static Single obj = new Single(); /
step a*/
private Single() /* step b*/
{
}
public static Single getInstance()
{
return obj; /* step c*/
}
}