Comment on Tutorial - equals( ) Versus == in Java By Mashoud
Comment Added by : Fins
Comment Added at : 2011-12-14 04:40:09
Comment on Tutorial : equals( ) Versus == in Java By Mashoud
Hi Guys, thanks for sharing this... I have some more doubt.
1. String s1= new String("Hello");
Here, whether s2 will point to the same location as s1?
2. String s1="Hello";
String s2=new String("Hello");
What will be the output of these 2 scenarios?
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. The example is wrong, because there are two sepera
View Tutorial By: billGates at 2010-07-06 16:56:13
2. hi, the code is fine. i want this array to be decl
View Tutorial By: deepi at 2012-04-26 06:08:36
3. hello, please i need a help.. i'm trying to make a
View Tutorial By: Ludmila at 2012-12-10 17:56:00