how to check for null value for type double

Hi,what is the syntax for the above?TQ
[59 byte] By [tllclla] at [2007-10-2 5:12:13]
# 1
since double is no Object it cannot be null
pgeuensa at 2007-7-16 1:14:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
How so, if you declare a double without initialising it, then what is its value?
angrycata at 2007-7-16 1:14:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
[code}double d;...void print(){System.out.print(d);}[/code]gives you 0.0. A Double would be null
yorkroada at 2007-7-16 1:14:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
oops:double d;...void print(){System.out.print(d);}gives you 0.0. A Double would be null
yorkroada at 2007-7-16 1:14:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
all basic types get a default value when declared without a valueboolean is falseint is 0double is 0.0 ....
pgeuensa at 2007-7-16 1:14:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...