class Sundae{
	private Sundae(){
		
	}
	static Sundae makeASundae(){
		return new Sundae();
	}
}
public class IceCream {
	//Sundae sundae=new Sundae();
	Sundae sundae2=Sundae.makeASundae();

}

class Sundae{
	private Sundae(){
		
	}
	static Sundae makeASundae(){
		return new Sundae();
	}
}
public class IceCream {
	Sundae sundae2=Sundae.makeASundae();

}

Update IceCream.java