Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
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, 5503👍, 0💬
Popular Posts:
Describe in detail Basic of SAO architecture of Remoting? For these types of questions interviewer e...
What metrics will you look at in order to see the project is moving successfully? Most metric sets d...
If we have multiple AFTER Triggers on table how can we define the sequence of the triggers ? If a ta...
What Happens If a Hyper Link Points to a Music File? - XHTML 1.0 Tutorials - Understanding Hyper Lin...
How To Compare Two Strings with strcmp()? - PHP Script Tips - PHP Built-in Functions for Strings PHP...