Comment on Tutorial - equals( ) Versus == in Java By Mashoud



Comment Added by : Avnish

Comment Added at : 2010-10-28 04:00:20

Comment on Tutorial : equals( ) Versus == in Java By Mashoud
Ku is quite correct. When you create any object, it goes to the string pool. If you are creating again the same object having different reference variable the jvm directly calls it from the pool. It is the property of jvm not to create replica of objects for overhead. Try it, both are true.

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. it's very good to understand...and it is helpful f
View Tutorial          By: Rakesh at 2009-12-26 00:14:59

2. I hope so.:d
View Tutorial          By: khoa at 2008-06-10 04:18:31

3. Hai,
I have the same problem *** time out a

View Tutorial          By: Anitha at 2009-04-20 03:12:23

4. its not solve my problem.i.e
the concept is

View Tutorial          By: murli at 2010-10-02 23:23:11

5. how doeas peek work in a c++ program
View Tutorial          By: odwa at 2008-02-29 02:44:19

6. i don't know anything about computer..........
View Tutorial          By: Ami weds Pappu....... at 2013-02-14 04:00:11

7. i'am having an error in main.xml in line RelativeL
View Tutorial          By: Nova at 2013-04-18 11:21:06

8. hi..it's very nice..can you send me the version fo
View Tutorial          By: daniel81 at 2010-02-11 09:19:36

9. Excellent. I want you to publish about memory allo
View Tutorial          By: Mohamed firnaz at 2011-12-07 04:54:27

10. The coding which is given is easy to understand bu
View Tutorial          By: Chandra Sekhar Bodireddy at 2013-03-08 06:02:17