Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What would you use to compare two String variables - the operator == or the method equals()?
What would you use to compare two String variables - the operator == or the method equals()?
✍: Guest
I'd use the method equals() to compare the values of the Strings and the == to check if two variables point at the same instance of a String object.
2012-06-07, 2319👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char *p1; char *p2; p1=(char *)m...
How can we format data inside DataGrid? Use the DataFormatString property.
Rachel opened her math book and found that the sum of the facing pages was 245. What pages did she o...
.NET INTERVIEW QUESTIONS - Did VB6 support multi-threading ? While VB6 supports multiple single-thre...
Which are the various programming approaches for WCF?