About 84,900 results
Open links in new tab
  1. Java null check why use == instead of .equals() - Stack Overflow

    In Java I am told that when doing a null check one should use == instead of .equals(). What are the reasons for this?

  2. What's the difference between " = null" and " IS NULL"?

    May 1, 2010 · Understanding the difference between “IS NULL” and “= NULL” When a variable is created in SQL with the declare statement it is created with no data and stored in the variable …

  3. How to send NULL in HTTP query string? - Stack Overflow

    So if you don't need to support the difference between empty and null/absent string you may also consider the empty parameter as null. If instead you want to recreate point 4. of JSON …

  4. How to ignore a property in class if null, using json.net

    Jun 28, 2011 · To expound slightly on GlennG's very helpful answer (translating the syntax from C# to VB.Net is not always "obvious") you can also decorate individual class properties to …

  5. What exactly is meant by "dereferencing a NULL pointer"?

    In other words, a null pointer is a pointer of any type pointing at a well-defined "nowhere". Any pointer can turn into a null pointer when it is assigned a null pointer constant. The standard …

  6. What is a NullPointerException, and how do I fix it?

    What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from …

  7. Difference between null and empty ("") Java String

    The null value (which is different than an empty string "", a valid String instance) can never have a method invoked upon it. Placing the "known non-null" (usually a constant value or literal) to the …

  8. How can I check for an undefined or null variable in JavaScript?

    96 Checking null with normal equality will also return true for undefined. if (window.variable == null) alert('variable is null or undefined');

  9. What is a NullReferenceException, and how do I fix it?

    I have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object. What does this mean, and what can I do to fix …

  10. What is the correct way to represent null XML elements?

    This Stack Overflow question discusses the correct way to represent null XML elements.