Why operator overloading is not possible 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  .NET Claim nedir?

Leave a Reply

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