Since Java is strongly typed, you cannot do a whole lot with Object . This is because methods, operators, etc. available to use depend on the static type of the variable. println can accept Object because it only needs to call the toString method.
Since Java is strongly typed, you cannot do a whole lot with Object . This is because methods, operators, etc. available to use depend on the static type of the variable. println can accept Object because it only needs to call the toString method.