This content has been marked as final.
Show 2 replies
-
1. Re: Stupid question -Null Pointer Exception
peterj Jul 19, 2010 11:26 AM (in response to akhtar24)An object in Java code is actually a reference to an object in the heap. If that reference has not been set, it is null. So the actual exception is a null reference excpetion. But the Java language was developed by people who had coded in C before, and C was the language used to write the JVM, so the misnomer of "null pointer excpetion" was used.
-
2. Re: Stupid question -Null Pointer Exception
akhtar24 Jul 19, 2010 1:50 PM (in response to peterj)Thanx a lot peter for my stupid question....