Solved

object comparison , string, sting buffer, boolean comparison

Posted on 2011-09-15
4
237 Views
Last Modified: 2012-05-12
i would like to know differences between object comparison , string, sting buffer, boolean comparison with reference to equals() and hashCode() methods. I was not very clear on this topic. Thanks in advance
0
Comment
Question by:gudii9
  • 3
4 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 36546782
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36546787
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36546791
0
 
LVL 20

Expert Comment

by:Amitkumar Panchal
ID: 36553762
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now