Originally posted by yasoda aravapalli: Please can you say me why operator overloading is not provided in java...where as c++ provided it. If it is present,we can override == just like overriding the equals().
No operator overloading make JAVA simple. You always need to overriding the equals() , never use == to check Object.
"zh ro", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.
Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Be aware that accounts with invalid display names are removed.