Cannot Resolve Method Print Java Lang Object Reference