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:
NullPointerException on String Objects
What can go wrong if you replace &emp;&emp; with &emp; in the following code:
String a=null;
if (a!=null && a.length()>10) {
...
}
✍: FYIcenter
A single ampersand here would lead to a NullPointerException.
2007-03-03, 5299👍, 0💬
Popular Posts:
How do we host a WCF service in IIS? Note: - The best to know how to host a WCF in IIS is by doing a...
How can you enable automatic paging in DataGrid ? Following are the points to be done in order to en...
How To Create Nested Tables? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells You can cr...
1. What is normalization. 2. Difference between procedure and functions. 3. Oracle 9i Vs 10g. 4. how...
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...