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, 5369👍, 0💬
Popular Posts:
What does a well-written Object Oriented program look like? A well-written object oriented program e...
Which JavaScript file is referenced for validating the validators at the client side ? WebUIValidati...
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
What are the standard ways of parsing XML document? XML parser sits in between the XML document and ...
Can you explain project life cycle ? Figure :- 12.2 Life cycle of a project There are five stages of...