what is daemon thread what is finalize method java tutorial interview
Автор: Interview DOT
Загружено: 2012-11-04
Просмотров: 1401
Описание:
Click here - / @interviewdot to get notifications. You can submit your resume for right Job
http://www.interviewdot.com/upload-re...
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
Welcome to www.InterviewDot.com
Java Interview Questions and Answers : Job portal -- Java Tutorial / Interview
What is a daemon thread ?
These are the threads which can run without user intervention. The JVM can exit when there are daemon thread by killing them abruptly.
If normal threads are not running and remaining threads are daemon threads then the interpreter exits.
What is the finalize() method do ?
It is called by the garbage collecter on an object by garbage collection when it knows that there is no references on the object. The finalize() method is defined in the java.lang.Object class and its modifier is defined as protected. The finalize() method is not public because it should only be invoked by JVM and not by anyone else and protected so that it can be overridden by the subclasses.
How will you invoke any external process in Java ?
"Runtime.getRuntime().exec(....)".
You can submit your resume for right Job
http://www.interviewdot.com/upload-re...
For more Interview questions and answers - logon to www.InterviewDot.com -- Next Generation Job Site.
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: