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...

what is the difference between equals method and ==

Answer Posted / nagarjuna

equals method check the contents of the objects and returns
the boolean value.

== check the objects references

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what state does a thread enter when it terminates its processing? : Java thread

1037


What are the types of collections in java?

1041


In a class implementing an interface, can we change the value of any variable defined in the interface?

1068


Explain java code for recursive solution's base case?

1007


Can a class extend 2 classes in java?

1022


What are the differences between Java 1.0 and Java 2.0?

2249


What is the main purpose of java?

1076


Why synchronization is important in java?

1027


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

1049


How do you get length in java?

1008


Describe different states of a thread.

990


How do you achieve polymorphism in java?

983


Is math class static in java?

1096


How do you sort a list in java?

1020


List down the methods and interfaces of collection class in java.

973