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:
Troubleshooting NullPointerException
What is NullPointerException and how to handle it?
✍: FYIcenter
When an object is not initialized, the default value is null. When the following things happen, the NullPointerException is thrown:
The NullPointerException is a runtime exception. The best practice is to catch such exception even if it is not required by language design.
2007-03-03, 8973👍, 0💬
Popular Posts:
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some co...
Write out a function that prints out all the permutations of a string. For example, abc would give y...
Wha is the output from System.out.println("Hell o"+null);?Hellonull
Which bit wise operator is suitable for turning on a particular bit in a number? The bitwise OR oper...
What is the difference between CALL_FORM, NEW_FORM and OPEN_FORM? CALL_FORM: start a new form and pa...