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 / pavan kumar pathivada

The code by Namita works successfully but you need to make
certain changes to understand the concept.for every .equals
comparison in the code only two strings are considered
everytime i.e str and str3. Note that the hash code
functions also need to changed for str6 and str7.
anywys...great work namita...helped me a lot...thnks...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is abstract class in Java?

1172


Difference between ‘is-a’ and ‘has-a’ relationship in java?

1043


In Java list the methods that can be overridden?

1050


Name few java 8 annotations ?

1085


What is meant by polymorphism?

1074


What is the difference between array list and vector in java?

982


How many types of gc are there in java?

1039


What is stream api in java8?

1274


What is a constructor, constructor overloading in java?

1044


What is difference between identifier and variable?

1122


What is the use of object and class classes?

1078


How does hashset works in java?

1134


What does || mean in code?

1101


What is public static?

1086


Is java type safe?

1003