Object o = new Object(); if (o == null) { // this cannot happen! }