Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

where is .equals() method and how is it different from ==
operation <giving some confusing implementation> Is hashing
related to these?

Answer Posted / esha prasad

.equlas() method is in Object class which compares two
objects and returns true if both are same.

== compares whether two references pointing to same memory
location.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the significance of listiterator in java?

1118


Explain when noclassdeffounderror will be raised ?

1094


What is an immutable class?

1208


Will minecraft java be discontinued?

1225


What is a classloader in java?

1061


Can singleton class be cloned?

1092


Why java applets are more useful for intranets as compared to internet?

1125


What is constructor and its types?

1205


Difference between static binding and dynamic binding?

1180


why we use merge option in hybernate pls give a ex snippet

2030


Why does java have two ways to create child threads? Which way is better?

1107


How to use string tokenizer class.

1270


Explain java coding standards for classes or java coding conventions for classes?

1175


Can a class have an interface?

1036


Give reasons supporting that string is immutable.

995