yourClass yourObject = null;

Read more of this post