+ 1

addShutdownHook() method belongs to???

as we know addShutdownHook() is used to execute our thread just before the termination of the programme (either normally or abnormally).... but, I am confused at a point!!! where that method belongs???? in which class??

4th Sep 2017, 7:18 AM
Saurav Kumar
Saurav Kumar - avatar
6 Respostas
+ 1
thanks..... I just checked that by using javap java.lang.Runtime....👍
4th Sep 2017, 1:44 PM
Saurav Kumar
Saurav Kumar - avatar
+ 1
I have posted one more question... please I help!!
5th Sep 2017, 5:42 AM
Saurav Kumar
Saurav Kumar - avatar
+ 1
actually... there is no space to write it soo long ... I have 500 characters to write.... and it's full... that why I wrote it in that manner.... wait
5th Sep 2017, 6:09 AM
Saurav Kumar
Saurav Kumar - avatar
+ 1
I improved it.... now please check it for once.... tell me what I am missing!!!
5th Sep 2017, 6:11 AM
Saurav Kumar
Saurav Kumar - avatar
0
alright wait ... I am improving it
5th Sep 2017, 6:07 AM
Saurav Kumar
Saurav Kumar - avatar
0
please help ... due to this... m stuck in multithreading!!!
5th Sep 2017, 6:13 AM
Saurav Kumar
Saurav Kumar - avatar