Understanding is Everything - Peter Lord
How does java library work in his case? Since this is a constructor in NullPointerException class how
can we override it? Or what happens? I am not getting the roadmap to using the library.
}
BEE MBA PMP SCJP-6
SCJP6.0,My blog Ranchers from Delhi
Understanding is Everything - Peter Lord
Pratik D mehta wrote:I want to know what throw new nullpointerexception does ?
SCJP6.0,My blog Ranchers from Delhi
Regards,
Avishkar Nikale
Understanding is Everything - Peter Lord
Regards,
Avishkar Nikale
Pratik D mehta wrote:Yup now i understand that it creates an instance of nullpointerexception class but the instance does not have a name ,
It just says throw new nullpointerexception() , It just creates a instance but with what name ?
For eg - we write student s1 = new student();
So the name is s1 for the instance ,
BEE MBA PMP SCJP-6
Replace the word "snake" with "danger noodle" in all tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|