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 / ravikiran

equals will compare two objects,== will compare whether two
reference variables refer to same object or not

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to display all the prime numbers between 1 and n (n is the number, get the input from user)

967


How to sort double array in java?

973


How to calculate the length of a singly linked list in java?

1010


How do you trim a space in java?

967


How do you add an arraylist to an array in java?

965


What are the differences between graph and tree?

1102


What is the meaning of 3 dots in java?

1149


Which is bigger double or float?

951


Explain about public and private access specifiers?

1030


What is java literals?

1112


What is an interoperable application in java ?

979


Why java is considered as platform independent?

985


Can you declare the main method as final?

996


What is meant by collection in java?

1046


What is singleton class example?

1006