convert object to intergerr in java code example Example: parse object to int java int i = (Integer) object;