Is it bad to use object in Java?

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.

Sizin İçin Seçtik  What TRAI regulations?

Leave a Reply

Your email address will not be published. Required fields are marked *