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, 5454👍, 0💬
Popular Posts:
How To Join a List of Keys with a List of Values into an Array? - PHP Script Tips - PHP Built-in Fun...
Which bit wise operator is suitable for turning off a particular bit in a number? The bitwise AND op...
Can Multiple Cursors Being Opened at the Same Time? - Oracle DBA FAQ - Working with Cursors in PL/SQ...
Are risk constant through out the project ? * Never say that risk is high through out the project. R...
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...