Why we dont use operator overloading in Java?

Java doesn’t allow user defined operator overloading because if you allow programmer to do operator overloading they will come up with multiple meanings for same operator which will make the learning curve of any developer hard and things more confusing and messing .

Sizin İçin Seçtik  How do you use the random function in flutter?

Leave a Reply

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