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, 5233👍, 0💬
Popular Posts:
How Oracle Handles Dead Locks? - Oracle DBA FAQ - Understanding SQL Transaction Management Oracle se...
How To Check the Oracle TNS Settings? - Oracle DBA FAQ - ODBC Drivers, DSN Configuration and ASP Con...
Can we have static indexer in C# ? No.
Can one change the mouse pointer in Forms? The SET_APPLICATION_PROPERTY build-in in Oracle Forms all...
Can we get a strongly typed resource class rather than using resource manager? In the previous quest...