Originally posted by Marzo Kaahn:
If you receive it as an Object type and try to use it you will get a NullPointerException.
Originally posted by shyam ramineni:
This is a similar kind of question from Dan's Website.
Answer is it fails to compile.
I couldnot understand the reason stated in the website.
Can anyone explain the result.